Re: Output file extension ignored using PerlMagic::Write & gm convert
Jeffrey Berger <[email protected]> Thu, 1 Dec 2016 21:24:59 -0600
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============7498941115357823017== Content-Type: multipart/alternative; boundary="Apple-Mail=_70BBD4AA-DD5E-43C4-AB54-744BB9B47F9A" --Apple-Mail=_70BBD4AA-DD5E-43C4-AB54-744BB9B47F9A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Dec 1, 2016, at 9:08 PM, Bob Friesenhahn = <[email protected] <mailto:[email protected]>> = wrote: >=20 > On Thu, 1 Dec 2016, Jeffrey Berger wrote: >>=20 >> I performed an =E2=80=98apt-get purge graphicsmagick=E2=80=99 = followed by =E2=80=98apt-get install graphicsmagick=E2=80=99 hoping that = would fix the problem, but it didn=E2=80=99t. >>=20 >> I=E2=80=99ve verified the failing behavior of =E2=80=98gm convert=E2=80= =99 on other PDFs. >>=20 >> I=E2=80=99ve verified that =E2=80=98gm convert=E2=80=99 fails = similarly to convert to JPG and TIF. >>=20 >> However, =E2=80=98gm convert=E2=80=99 works for GIF, BMP and PPM = formats. >>=20 >> It seems that something has broken the GraphicsMagick installation. >=20 > What does the output of 'gm convert -list module' and 'gm convert = -list format' say? >=20 > I would guess (never having heard of this sort of problem before) that = you are using a modules-based build and a library needed by these = modules is broken or not present. jeff@ec2 02.12.16 00:32:~$ gm convert -list module gm convert: Unrecognized list type (module). jeff@ec2 02.12.16 03:11:~$ gm convert -list format Format L Mode Description =E2=80=A6 too much output for the list, but JPG, PNG and TIF were not on = the list. GIF, BMP and PPM were. Thanks! -J --Apple-Mail=_70BBD4AA-DD5E-43C4-AB54-744BB9B47F9A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><span style=3D"color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px; display: inline !important; float: = none;" class=3D"">On Dec 1, 2016, at 9:08 PM, Bob Friesenhahn = <</span><a href=3D"mailto:[email protected]" class=3D"" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-size-adjust: auto; -webkit-text-stroke-width: = 0px;">[email protected]</a><span style=3D"color: rgb(0, 0, = 0); font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: = inline !important; float: none;" class=3D"">> wrote:</span><br = class=3D"" style=3D"color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px;"><div style=3D"color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" = class=3D""><blockquote type=3D"cite" class=3D""><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On = Thu, 1 Dec 2016, Jeffrey Berger wrote:<br class=3D""><blockquote = type=3D"cite" class=3D""><br class=3D"">I performed an =E2=80=98apt-get = purge graphicsmagick=E2=80=99 followed by =E2=80=98apt-get install = graphicsmagick=E2=80=99 hoping that would fix the problem, but it = didn=E2=80=99t.<br class=3D""><br class=3D"">I=E2=80=99ve verified the = failing behavior of =E2=80=98gm convert=E2=80=99 on other PDFs.<br = class=3D""><br class=3D"">I=E2=80=99ve verified that =E2=80=98gm = convert=E2=80=99 fails similarly to convert to JPG and TIF.<br = class=3D""><br class=3D"">However, =E2=80=98gm convert=E2=80=99 works = for GIF, BMP and PPM formats.<br class=3D""><br class=3D"">It seems that = something has broken the GraphicsMagick installation.<br = class=3D""></blockquote><br class=3D"">What does the output of 'gm = convert -list module' and 'gm convert -list format' say?<br class=3D""><br= class=3D"">I would guess (never having heard of this sort of problem = before) that you are using a modules-based build and a library needed by = these modules is broken or not present.<br = class=3D""></div></div></blockquote><br class=3D""></div><div = style=3D"orphans: auto; text-align: start; text-indent: 0px; widows: = auto;" class=3D""><font face=3D"Monaco" class=3D"">jeff@ec2 02.12.16 = 00:32:~$ gm convert -list module<br class=3D"">gm convert: Unrecognized = list type (module).<br class=3D"">jeff@ec2 02.12.16 03:11:~$ gm convert = -list format<br class=3D""> Format = L Mode Description<br class=3D""></font><br = class=3D""></div><div style=3D"color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span= style=3D"font-weight: normal;" class=3D"">=E2=80=A6 too much output for = the list, but JPG, PNG and TIF were </span><b class=3D"">not</b> on = the list. GIF, BMP and PPM were.</div><div style=3D"color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: = 0px;" class=3D""><br class=3D""></div><div style=3D"color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: = 0px;" class=3D"">Thanks!</div><div style=3D"color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: = 0px;" class=3D"">-J</div><div style=3D"color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: normal; letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; = -webkit-text-stroke-width: 0px;" class=3D""><br = class=3D""></div></body></html>= --Apple-Mail=_70BBD4AA-DD5E-43C4-AB54-744BB9B47F9A-- --===============7498941115357823017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot --===============7498941115357823017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Graphicsmagick-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs --===============7498941115357823017==--