On Tuesday, 16 August 2022 10:18:17 BST Ralph Corderoy wrote:
> > Interestingly if you use the command "convert file.png file.pdf" a
> > valid pdf is produced which works with gropdf.
> 
> That was Laurens' original command but I found the convert(1) here
> sticks an ASCII NUL after the title, which pdfinfo pipes to grep which
> stops the dimensions being extracted by gropdf.

Hi Ralph,

Yes, it uses UTF-16 in the string as well. However, using the git version of 
PDFPIC it now works with the Ascii Null, I think Branden added a filter for 
the nulls to the pdfinfo command in January.

Cheers 

Deri




Reply via email to