LWN.net Logo

Advertisement

Interested in hardware, diags, validation, Linux, C, ARM, Microcode and low level programming and blazing networks?

Advertise here

extracting bitmap images from selections?

extracting bitmap images from selections?

Posted Nov 30, 2004 6:32 UTC (Tue) by larryr (guest, #4030)
In reply to: extracting bitmap images from selections? by stevenj
Parent article: The Grumpy Editor's Guide to PDF Viewers

I dont know if its a decent answer, but I sometimes use "convert" from ImageMagick to produce a bitmap image file for each page, something like

convert file.pdf file.jpg

Its obscenely resource intensive, but when its done I can just edit the jpg file using whatever bitmap editor. There is a "pdfimages" program with xpdf, but it has often not produced very useful output for me.

Larry


(Log in to post comments)

extracting bitmap images from selections?

Posted Nov 30, 2004 20:53 UTC (Tue) by smurf (subscriber, #17840) [Link]

Ouch. Please, NEVER convert something that is not a continuous-tone picture to JPEG. You will get compression artefacts and it will be either bloated or ugly.

PNG is a better choice. By far.

extracting bitmap images from selections?

Posted Dec 1, 2004 4:17 UTC (Wed) by Ross (subscriber, #4065) [Link]

Not to mention that JPEG isn't appropriate for editing because the lossy
compression artifacts build up every open-edit-save iteration, often at a
superlinear rate. Yes, there are such things a lossless JPEGs but they take
as much space as any other losslesss format and few programs can be told to
write them.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds