Re: PDFPIC issues

2024-08-27 Thread Peter Schaffter
Deri -- I was expecting to have to do some work in mom to accommodate PDFPIC, but it turns out I don't. \X'pdf: pdfpic ...' in PDF_IMAGE accepts all the image formats I threw at it--without the need for -U. PDF_IMAGE still requires the image dimensions for correct placement and scaling, so the o

Re: PDFPIC issues

2024-08-25 Thread Deri
On Friday, 23 August 2024 01:32:39 BST Deri wrote: > The > difference is that version 7 returns this layer as all 255, and version 6.9 > returns it as all zeroes. Which means that although the png is embedded you > still can't see it because the whole image is transparent! > > My investigation con

Re: PDFPIC issues

2024-08-22 Thread Deri
On Thursday, 22 August 2024 19:59:00 BST Peter Schaffter wrote: > identify -version > Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 > https://imagemagick.org > > identify peachpie.pgn > peachpie.png PNG 150x150 150x150+0+0 8-bit sRGB 44950B 0.000u 0:00.000 > > groff -U -Tpdf pdfpic-tes

Re: PDFPIC issues

2024-08-22 Thread G. Branden Robinson
At 2024-08-22T14:59:00-0400, Peter Schaffter wrote: > groff -U -Tpdf pdfpic-test.troff > /dev/null > gropdf: warning: './peachpie.png' does not appear to be a pdf file > > In the command line, above, the output is sent to /dev/null because > for some reason passing groff the -z flag doesn't retu

Re: PDFPIC issues

2024-08-22 Thread Peter Schaffter
Deri -- On Thu, Aug 22, 2024, Deri wrote: > It would be helpful to see your version, and the result of > identifying the png image, and whether you received a warning when > you run groff. identify -version Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org identify p

Re: PDFPIC issues

2024-08-22 Thread Peter Schaffter
Deri -- On Thu, Aug 22, 2024, Deri wrote: > I may be able to ameliorate the incorrect pdf dimension issue > by altering the precedence, currently pdfinfo is only called > if neither identify nor file return the dimensions, so I could > reverse the logic and give pdfinfo first dibs, which would sol

Re: PDFPIC issues

2024-08-22 Thread Deri
On Thursday, 22 August 2024 15:24:17 BST Deri wrote: > Hi Peter, I have just discovered that debian have at last (yesterday!) got version 7 of ImageMagick, but it is currently in the "experimental" repository:- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929825#46 I'd recommend a barge po