Automatic picture resizing

Bug #398914 reported by Paul Everitt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Shane Hathaway

Bug Description

Backlog ID: 13

Requirements
===============

- Get PIL into buildout

- Tests

- Preserve both the original uploaded version and the scaled version (to allow us to change minds later on scaling/cropping and re-generate)

- Change the helper that gets the profile picture to get the scaled version

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote : Re: [Bug 398914] [NEW] "Automatic picture resizing" from backlog

Consider using repoze.bitblt (or a similar strategy).

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Too big a hammer for too small a problem.

--Paul

On Jul 13, 2009, at 2:10 PM, Chris Rossi wrote:

> Consider using repoze.bitblt (or a similar strategy).
>
> --
> "Automatic picture resizing" from backlog
> https://bugs.launchpad.net/bugs/398914
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Porting KARL to a new architecture: New
>
> Bug description:
>
> Requirements
> ===============
>
> - Get PIL into buildout
>
> - Tests
>
> - Preserve both the original uploaded version and the scaled version
> (to allow us to change minds later on scaling/cropping and re-
> generate)
>
> - Change the helper that gets the profile picture to get the scaled
> version

Changed in karl3:
assignee: nobody → Shane Hathaway (shane-hathawaymix)
Revision history for this message
Shane Hathaway (shane-hathawaymix) wrote : Re: "Automatic picture resizing" from backlog

Done in revision 3515. The source photo is saved under the key "source_photo" inside the user's profile.

Also added a script, "resize_profile_photos.py", that resizes all existing profile photos (and preserves the source photos).

Changed in karl3:
status: New → Fix Committed
Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 398914] Re: "Automatic picture resizing" from backlog

Hi Shane. Do we need to update the "Prerequisites" on the top-level
README.txt? Meaning, are there any system-level libraries needed by
PIL?

--Paul

On Jul 13, 2009, at 7:45 PM, Shane Hathaway wrote:

> Done in revision 3515. The source photo is saved under the key
> "source_photo" inside the user's profile.
>
> Also added a script, "resize_profile_photos.py", that resizes all
> existing profile photos (and preserves the source photos).
>
> ** Changed in: karl3
> Status: New => Fix Committed
>
> --
> "Automatic picture resizing" from backlog
> https://bugs.launchpad.net/bugs/398914
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Porting KARL to a new architecture: Fix Committed
>
> Bug description:
>
> Requirements
> ===============
>
> - Get PIL into buildout
>
> - Tests
>
> - Preserve both the original uploaded version and the scaled version
> (to allow us to change minds later on scaling/cropping and re-
> generate)
>
> - Change the helper that gets the profile picture to get the scaled
> version

description: updated
tags: added: backlog
summary: - "Automatic picture resizing" from backlog
+ Automatic picture resizing
Revision history for this message
Shane Hathaway (shane-hathawaymix) wrote :

Paul Everitt wrote:
> Hi Shane. Do we need to update the "Prerequisites" on the top-level
> README.txt? Meaning, are there any system-level libraries needed by
> PIL?

Good point. I've added info about libjpeg and zlib.

Shane

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Looks good!

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.