PDF to PNG, how do i select a specific layer.
Posted: 2010-02-01T03:59:51-07:00
Hello,
I am currently trying to make a derived image script to create PNG files from a PDF file.
The problem is that these pdf files contain 3 layers, one of which i do not want to see in my output file.
example command line:
The 3 layers are called:
- BASE (contains image)
- LANG1 (contains text)
- LANG2 (contains text)
Is there any way to select the layers to use in the output file, with IM or GS?
My current output is all the layers at once, which has overlapping text from both LANG layers.
I am currently trying to make a derived image script to create PNG files from a PDF file.
The problem is that these pdf files contain 3 layers, one of which i do not want to see in my output file.
example command line:
Code: Select all
convert document.pdf[0] png:derived_image.png
- BASE (contains image)
- LANG1 (contains text)
- LANG2 (contains text)
Is there any way to select the layers to use in the output file, with IM or GS?
My current output is all the layers at once, which has overlapping text from both LANG layers.