Re: Resizing/Scaling images with Mogrify

"el_supremo01 <[email protected]>" <[email protected]> Thu, 06 Feb 2003 03:36:54 -0000
Newsgroups gmane.comp.video.image-magick.windows
Message-ID <[email protected]>
Hi Marian,

--- In [email protected], "Marian Briones <mbriones@1...>" 
<mbriones@1...> wrote:
>  Here's my code where I'm
> trying to tell it if the image width is greater than or equal to 
1280,
> size it down to 40% of its original size, but it doesn't do it.  

If you mean this statement:
> 	if ($image->Get('width') == 1280)

then it's looking for a width of exactly 1280, not >=.

Best Wishes
Pete


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/nhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/