Hi,
> HOW are you adding them? PdfStamper? As annotations? What?
I use PDFStamper. One is a java.awt.Image object I instance with
Image foo = new Image.getInstance(AwtImage,null,true);
The other one is a JPEG and is instanced with
Image bar = new Image.getInstance("path/to/file.jpg");
These images are added with
PdfStamper stamp = new PdfStamper(...);
PdfContentByte over = stamp.getOverContent(1);
foo.setAbsolutePosition(x,y);
foo.logo.scaleAbsolute(width,height);
over.addImage(foo);
bar.setAbsolutePosition(x,y);
bar.logo.scaleAbsolute(width,height);
over.addImage(bar);
> What version of pdf2ps? What options?
I tried ghostscript versions 7.07 and 7.05 and PostScript language
levels 1, 2 and 3.
I call pdf2ps like follows:
pdf2ps file.pdf file.ps
which equals
exec gs $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite \
"-sOutputFile=file.ps" $OPTIONS -c save pop -f "file.pdf"
Images seem to break during conversion. They are missing in printouts
(tryped HP and Lexmark printers) and if I convert ps file back to PDF
(ps2pdf) Images are missing in PDF viewer as well.
With the images I also add text to the PDF document. But text does not
disappear.
Thanks for your help!
Regards,
Sven
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions