Re: [NTG-context] resource libraries
Is it possible somehow to extract all the images covered in an image database without lose of quality?
eh ... normally there should beno loss at all, pdftex just copies the resources
Sorry, I see my question was'nt clear enough. Is there a way to restore all the images included in a figure library as jpg's, png's or what else? I could then delete the original images. Wolfgang
On Tue, 24 Oct 2006 21:31:14 +0200
"Wolfgang Werners-Lucchini"
Is it possible somehow to extract all the images covered in an image database without lose of quality?
eh ... normally there should beno loss at all, pdftex just copies the resources
Sorry, I see my question was'nt clear enough.
Is there a way to restore all the images included in a figure library as jpg's, png's or what else?
I could then delete the original images.
Wolfgang
Hi Wolfgang, I use myself pdfimages to extract pictures from pdf-files, but it did not always work perfect on the files I use them. I dont know what is possible with commercial tools like Acrobat. You should test first if you can restore your images from the picture file before you delete them all. Wolfgang
Wolfgang Schuster wrote:
I use myself pdfimages to extract pictures from pdf-files, but it did not always work perfect on the files I use them.
I dont know what is possible with commercial tools like Acrobat.
You should test first if you can restore your images from the picture file before you delete them all.
texexec --pdfselect --select=1:1 blabla.pdf ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Wolfgang Werners-Lucchini wrote:
Is it possible somehow to extract all the images covered in an
image
database without lose of quality?
eh ... normally there should beno loss at all, pdftex just copies the resources
Sorry, I see my question was'nt clear enough.
Is there a way to restore all the images included in a figure library as jpg's, png's or what else?
I could then delete the original images.
in principle one could extract them but one also has to make sure that no xforms are used then, otherwise after a few cycles one ends up with many nested xforms; think of something \startTEXpage \externalfigure[yourbase.pdf][page=1,object=no] \stopTEXpage another option is to use pdfimages (which can extract bitmaps); it's probably no big deal to extend rlxtools with an option do extract the images and give them their original names; maybe on a rainy day ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Wolfgang Schuster
-
Wolfgang Werners-Lucchini