[gs-devel] how to export the text in png (foreground) and image in jpg (background)

chen bin chenbin.sh at gmail.com
Mon Jul 23 18:45:54 PDT 2007


Hi:
The text rendering is unacceptable if I convert the pdf into jpeg with
the below command line:
gswin32c -dSAFER -dBATCH -dNOPAUSE -r150 -sDEVICE=jpeg -dJPEG=80
dGraphicsAlphaBits=4 -sOutputFile=test%d.jpg test.pdf

I can convert the whole pdf into png file to solve text rending
problem, but the png file size is too large.

So I wonder if there exists any command line option of gs to render
photo and the text of one pdf file into different images?

Or any gs API , or any other pdf sdks support my idea?

Here is an example.
background:
"http://catalogues.cataloguecentral.com.au/djvu/Retail/Reject%20Shop/July%202007/webimages/page0000001_large.jpg"
foreground:
"http://catalogues.cataloguecentral.com.au/djvu/Retail/Reject
Shop/July 2007/webimages/page0000001_large.png"

Regards
Chen

-- 
help me, help you.



More information about the gs-devel mailing list