Re: The orientation attribute and -orient command
hack bear <[email protected]> Wed, 22 May 2013 11:29:34 -0700
| Newsgroups | gmane.comp.video.graphicsmagick.tools |
|---|---|
| Message-ID | <[email protected]> |
--===============0378170126126749812== Content-Type: multipart/alternative; boundary="_6b2341d0-b30f-4ec1-b705-7de552e16adc_" --_6b2341d0-b30f-4ec1-b705-7de552e16adc_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > it has to be done by the recipient user. This would be based on an=20 > expectation that the recipient has smart softare which auto-rotates=20 > the image. Unluckily some clients (flash?) do not handle the auto-rotate and so we hav= e to do it on the server side. We also need to create scale down versions o= f the images. >=20 > Until GM edits EXIF tags=2C the issue is moot. >=20 > Even when GM edits EXIF tags=2C GM will still not be the best way to=20 > rotate a JPEG image. The 'jpegtran' utility would do a better job=20 > since it uses a lossless method to rotate the JPEG. For now=2C I use exiftool to update the orientation attribute after GM rota= tes. Will be grad to help out patching GM to update the EXIF attributes if = I can squeeze some bandwidth.=20 Not familiar with jpegtran/libjpeg=2C will look at it to see if it fits in = easily=3B sounds like it supports only JPEG=3B we may have to use GM still = for other formats. >=20 > Bob > --=20 > Bob Friesenhahn > [email protected]=2C http://www.simplesystems.org/users/bfries= en/ > GraphicsMagick Maintainer=2C http://www.GraphicsMagick.org/ >=20 > -------------------------------------------------------------------------= ----- > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring servi= ce=20 > that delivers powerful full stack analytics. Optimize and monitor your > browser=2C app=2C & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_ma= y > _______________________________________________ > Graphicsmagick-tools mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/graphicsmagick-tools = --_6b2341d0-b30f-4ec1-b705-7de552e16adc_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>>=3B it has to be done by the = recipient user. This would be based on an <br><div>>=3B expectation that= the recipient has smart softare which auto-rotates <br>>=3B the image.<b= r><br>Unluckily some clients (flash?) do not handle the auto-rotate and so = we have to do it on the server side. We also need to create scale down vers= ions of the images.<br><br>>=3B <br>>=3B Until GM edits EXIF tags=2C th= e issue is moot.<br>>=3B <br>>=3B Even when GM edits EXIF tags=2C GM wi= ll still not be the best way to <br>>=3B rotate a JPEG image. The 'jpegt= ran' utility would do a better job <br>>=3B since it uses a lossless meth= od to rotate the JPEG.<br><br>For now=2C I use exiftool to update the orien= tation attribute after GM rotates. Will be grad to help out patching GM to = update the EXIF attributes if I can squeeze some bandwidth. <br><br>Not fam= iliar with jpegtran/libjpeg=2C will look at it to see if it fits in easily= =3B sounds like it supports only JPEG=3B we may have to use GM still for ot= her formats.<br><br>>=3B <br>>=3B Bob<br>>=3B -- <br>>=3B Bob Fries= enhahn<br>>=3B [email protected]=2C http://www.simplesystems.o= rg/users/bfriesen/<br>>=3B GraphicsMagick Maintainer=2C http://www.Gra= phicsMagick.org/<br>>=3B <br>>=3B -------------------------------------= -----------------------------------------<br>>=3B Try New Relic Now &= =3B We'll Send You this Cool Shirt<br>>=3B New Relic is the only SaaS-bas= ed application performance monitoring service <br>>=3B that delivers powe= rful full stack analytics. Optimize and monitor your<br>>=3B browser=2C a= pp=2C &=3B servers with just a few lines of code. Try New Relic<br>>= =3B and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_= may<br>>=3B _______________________________________________<br>>=3B Gra= phicsmagick-tools mailing list<br>>=3B [email protected]= orge.net<br>>=3B https://lists.sourceforge.net/lists/listinfo/graphicsmag= ick-tools<br></div> </div></body> </html>= --_6b2341d0-b30f-4ec1-b705-7de552e16adc_-- --===============0378170126126749812== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may --===============0378170126126749812== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Graphicsmagick-tools mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-tools --===============0378170126126749812==--