Re: Re: Resizing/Scaling images with Mogrify

Marian Briones <[email protected]> Thu, 06 Feb 2003 06:02:04 -0800
Newsgroups gmane.comp.video.image-magick.windows
Message-ID <[email protected]>
--------------010404000908020705060400
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I have an image that is exactly 1280 in the directory; I tried the >= 
and had the same prob....

What I wish I could do is just specify a width and have the program 
automatically constrain the image's height proportional to the width....

el_supremo01 wrote:

> 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
>
>
> To unsubscribe from this group, send an email to:
> [email protected]
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
> <http://docs.yahoo.com/info/terms/>.


-- 
--------------------
Marian Briones
Internet Presence Specialist
1 Stop Web Solutions
Your complete internet presence solution source
http://www.1stopwebsolutions.com
510.226.7827



--------------010404000908020705060400
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>


I have an image that is exactly 1280 in the directory; I tried the &gt;=
and had the same prob....<br>
<br>
What I wish I could do is just specify a width and have the program automatically
constrain the image's height proportional to the width....<br>
<br>
el_supremo01 <el_supremo01 @yahoo.co.uk=""> wrote:<br>
</el_supremo01>
<blockquote type="cite" cite="[email protected]">   <tt> Hi Marian,<br>
 <br>
 --- In <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>, "Marian Briones <a class="moz-txt-link-rfc2396E" href="mailto:mbriones@1...">&lt;mbriones@1...&gt;</a>"
  <br>
 <a class="moz-txt-link-rfc2396E" href="mailto:mbriones@1...">&lt;mbriones@1...&gt;</a> wrote:<br>
 &gt;&nbsp; Here's my code where I'm<br>
 &gt; trying to tell it if the image width is greater than or equal to <br>
 1280,<br>
 &gt; size it down to 40% of its original size, but it doesn't do it.&nbsp; <br>
 <br>
 If you mean this statement:<br>
 &gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($image-&gt;Get('width') == 1280)<br>
 <br>
 then it's looking for a width of exactly 1280, not &gt;=.<br>
 <br>
 Best Wishes<br>
 Pete<br>
 <br>
 </tt>   <br>
 <tt> To unsubscribe from this group, send an email to:<br>
 <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
 <br>
 </tt> <br>
  <br>
 <tt>Your use of Yahoo! Groups is subject to the <a
 href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>.</tt> 
  <br>
  </blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- 
--------------------
Marian Briones
Internet Presence Specialist
1 Stop Web Solutions
Your complete internet presence solution source
<a class="moz-txt-link-freetext" href="http://www.1stopwebsolutions.com">http://www.1stopwebsolutions.com</a>
510.226.7827</pre>
<br>

<br>



<br>
<tt>
To unsubscribe from this group, send an email to:<BR>
[email protected]<BR>
<BR>
</tt>
<br>

<br>
<tt>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>.</tt>
</br>

</body>
</html>

--------------010404000908020705060400--