Re: [Jmagick] How to do JPEG Compression Save at 10
------=_Part_359_9101186.1214905773691
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
You are using the old JMagick mailling list.
We have switched to a new one some months ago.
The JMagick mailing list is now at [jmagick-users@masked-domain].
Please post there, to make sure that all participate in the same list.
To join the JMagick mailing list, please point your web brower at
https://lists.sourceforge.net/lists/listinfo/jmagick-users
Jacob
2008/6/27 srinivasp <[spulakanam@masked-domain]>:
>
> Bob,
>
> You are totally right about the units. I totally missed that part. I
> needed to set the setUnits as Pixels per inch.
>
> And again you are totally right about quality on PNG. Thank you. I am new
> to this and I am trying to put pieces together for the first time.
>
> Thank you.
>
>
> Bob Friesenhahn wrote:
> >
> > On Thu, 26 Jun 2008, srinivasp wrote:
> >
> >> I am trying to set the quality of a png to something lower (for smaller
> >> image size).
> >> You are right "getQuality" of MagickImage returning a zero 0.
> >
> > It used to be that this would return a value of 75 as a default.
> > PNGs don't actually have "quality" since PNG is lossless. The quality
> > value is used to select various parameters when the file is written.
> > A higher quality value will usually take more CPU to write and is
> > often smaller.
> >
> >> Just curious if anybody actually been sucessful in setting the
> >> compression/quality. Also when I use setXResolution (90) and
> >> setYResolution(90), and resize the image, the output png's x-resoultion
> >> is
> >> 0.009 and y-resolution is 0.009.
> >>
> >> I dont know what to infer from that. Anybody help?
> >
> > The PNG units are likely millimeters rather than DPI. I would have to
> > check the specification to be sure. The 'units' parameter determines
> > what the values you supply represent. However, if the native units
> > are metric, then the software has to convert to the native units.
> >
> > Bob
> > ======================================
> > Bob Friesenhahn
> > [bfriesen@masked-domain],
> http://www.simplesystems.org/users/bfriesen/
> > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
> >
> > _______________________________________________
> > JMagick mailing list
> > [JMagick@masked-domain]
> > http://www.yeo.id.au/mailman/listinfo/jmagick
> > Please ensure that [JMagick@masked-domain] is a recipient when replying.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-do-JPEG-Compression-Save-at-10-tp838254p18142721.html
> Sent from the JMagick mailing list archive at Nabble.com.
>
> _______________________________________________
> JMagick mailing list
> [JMagick@masked-domain]
> http://www.yeo.id.au/mailman/listinfo/jmagick
> Please ensure that [JMagick@masked-domain] is a recipient when replying.
>
--
Jacob Nordfalk
http://javabog.dk
Skype: jacobnordfalk
------=_Part_359_9101186.1214905773691
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,<br>
<br>You are using the old JMagick mailling list. <br>We have switched to a new one some months ago.<br>
The JMagick mailing list is now at <a href="mailto:[jmagick-users@masked-domain]">[jmagick-users@masked-domain]</a>. <br>
<br>
Please post there, to make sure that all participate in the same list.<br>
<br>To join the JMagick mailing list, please point your web brower at<br>
<a href="https://lists.sourceforge.net/lists/listinfo/jmagick-users">https://lists.sourceforge.net/lists/listinfo/jmagick-users</a><br>
<br><br>
Jacob<br><br><br><br><div class="gmail_quote">2008/6/27 srinivasp <<a href="mailto:[spulakanam@masked-domain]">[spulakanam@masked-domain]</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Bob,<br>
<br>
You are totally right about the units. I totally missed that part. I<br>
needed to set the setUnits as Pixels per inch.<br>
<br>
And again you are totally right about quality on PNG. Thank you. I am new<br>
to this and I am trying to put pieces together for the first time.<br>
<br>
Thank you.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
Bob Friesenhahn wrote:<br>
><br>
> On Thu, 26 Jun 2008, srinivasp wrote:<br>
><br>
>> I am trying to set the quality of a png to something lower (for smaller<br>
>> image size).<br>
>> You are right "getQuality" of MagickImage returning a zero 0.<br>
><br>
> It used to be that this would return a value of 75 as a default.<br>
> PNGs don't actually have "quality" since PNG is lossless. The quality<br>
> value is used to select various parameters when the file is written.<br>
> A higher quality value will usually take more CPU to write and is<br>
> often smaller.<br>
><br>
>> Just curious if anybody actually been sucessful in setting the<br>
>> compression/quality. Also when I use setXResolution (90) and<br>
>> setYResolution(90), and resize the image, the output png's x-resoultion<br>
>> is<br>
>> 0.009 and y-resolution is 0.009.<br>
>><br>
>> I dont know what to infer from that. Anybody help?<br>
><br>
> The PNG units are likely millimeters rather than DPI. I would have to<br>
> check the specification to be sure. The 'units' parameter determines<br>
> what the values you supply represent. However, if the native units<br>
> are metric, then the software has to convert to the native units.<br>
><br>
> Bob<br>
> ======================================<br>
> Bob Friesenhahn<br>
> <a href="mailto:[bfriesen@masked-domain]">[bfriesen@masked-domain]</a>, <a href="http://www.simplesystems.org/users/bfriesen/" target="_blank">http://www.simplesystems.org/users/bfriesen/</a><br>
> GraphicsMagick Maintainer, <a href="http://www.GraphicsMagick.org/" target="_blank">http://www.GraphicsMagick.org/</a><br>
><br>
> _______________________________________________<br>
> JMagick mailing list<br>
> <a href="mailto:[JMagick@masked-domain]">[JMagick@masked-domain]</a><br>
> <a href="http://www.yeo.id.au/mailman/listinfo/jmagick" target="_blank">http://www.yeo.id.au/mailman/listinfo/jmagick</a><br>
> Please ensure that <a href="mailto:[JMagick@masked-domain]">[JMagick@masked-domain]</a> is a recipient when replying.<br>
><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/How-to-do-JPEG-Compression-Save-at-10-tp838254p18142721.html" target="_blank">http://www.nabble.com/How-to-do-JPEG-Compression-Save-at-10-tp838254p18142721.html</a><br>
</font><div class="Ih2E3d">Sent from the JMagick mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">JMagick mailing list<br>
<a href="mailto:[JMagick@masked-domain]">[JMagick@masked-domain]</a><br>
<a href="http://www.yeo.id.au/mailman/listinfo/jmagick" target="_blank">http://www.yeo.id.au/mailman/listinfo/jmagick</a><br>
Please ensure that <a href="mailto:[JMagick@masked-domain]">[JMagick@masked-domain]</a> is a recipient when replying.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jacob Nordfalk<br><a href="http://javabog.dk">http://javabog.dk</a><br>Skype: jacobnordfalk
------=_Part_359_9101186.1214905773691--
--
Other messages in this topic