Post by Markus Robert Kessler Post by Markus Robert Kessler
does anyone know how to create a pdf file containing only pixel
information, and not vector data?
Some neigbours are asking for permission to use my parking space, when I
am not there, and hence I'd like to email them some pdf with the
permission to use space number x from date1 to date2.
They can print the file and put it into their cars.
But, I don't want anybody to be able to modify starting / ending time
easily. This can be done in Gimp anyway, of course, but everyone would
be aware, that this is criminal.
Any easy way to convert or export from (Libre / Open) Office?
Thanks in advance!
forgot to mention that
convert tmp.pdf tmp.png ; convert tmp.png tmp_new.pdf
indeed eliminates all vector info and creates a true pixel-only pdf, but
the quality is crappy.
OK, why not pass in a resolution parameter and a page size ?
The resolution parameter goes in the *first* command.
The page size declaration goes in the *second* command.
convert -density 600 dog.pdf dog.png
convert -page 612x792 dog.png bitdog.pdf <=== Oh, well. This is NOT going to work.
The Imagemagick forum shows they
don't have a clue over there.
dog.png ==> LO-writer insert image, ExportAsPDF ==> bitdog.pdf seems to work...
Pull dog.png into a new LO Writer document,
with letter size paper, "Export As" to PDF,
and then that's the bitdog.pdf .
When you use a desktop publishing tool, it takes
the 5100x6600 dog.png and places every pixel into
the 512x792 Letter page. This requires having a scale
factor applied to the image inside LO. When the
page is exported in a WYSIWYG fashion, the right
thing happens, the jaggies will be reduced compared
to how Imagemagick was doing it. Like this:
Here is bitdog.pdf zoomed in, to show the density
setting is making a difference. And if you set it
too high, the printer may run out of RAM during
the page print.Loading Image...