reading jpegs

I'm admittedly being a bit lazy, but does matplotlib let me

    > read in/manipulate jpeg images? I'd like to do some custom
    > cropping and resizing.

Not currently, but I would like to add load_png and load_jpg to the
image module.

For basic image resizing and cropping see ImageMagick's convert
function - the swiss army knife of image manipulation tools.

man convert

JDH

Or if you want to do it in Python, use the Python Imaging Library (PIL).

Cheers!
Andrew

···

On Apr 26, 2004, at 11:26 AM, John Hunter wrote:

    > I'm admittedly being a bit lazy, but does matplotlib let me
    > read in/manipulate jpeg images? I'd like to do some custom
    > cropping and resizing.

Not currently, but I would like to add load_png and load_jpg to the
image module.

For basic image resizing and cropping see ImageMagick's convert
function - the swiss army knife of image manipulation tools.

From: Andrew Straw [mailto:strawman@…106…]
Sent: Monday, April 26, 2004 3:09 PM
To: matplotlib-users; John Hunter; Randy Heiland
Subject: Re: [Matplotlib-users] reading jpegs

>
> > I'm admittedly being a bit lazy, but does matplotlib let

me

> > read in/manipulate jpeg images? I'd like to do some

custom

> > cropping and resizing.
>
> Not currently, but I would like to add load_png and load_jpg to the
> image module.
>
> For basic image resizing and cropping see ImageMagick's convert
> function - the swiss army knife of image manipulation tools.
>

Or if you want to do it in Python, use the Python Imaging Library

(PIL).

Yep, this is the approach I'm taking - thanks!

···

-----Original Message-----
On Apr 26, 2004, at 11:26 AM, John Hunter wrote: