RE: rendering Image file(png/bmp) on AFP file

2016-08-17 Thread Rajkumar Singh
Hi , Can you provide me a sample for the same. Thanks From: Simon Steiner [mailto:simonsteiner1...@gmail.com] Sent: Wednesday, August 17, 2016 5:48 PM To: fop-dev@xmlgraphics.apache.org Subject: RE: rendering Image file(png/bmp) on AFP file Hi, Why are you using such a low level

RE: rendering Image file(png/bmp) on AFP file

2016-08-17 Thread Simon Steiner
Hi, Why are you using such a low level api, try using fo or IF or even calling AFPPainter. Thanks From: Rajkumar Singh [mailto:rajkumar_si...@newgen.co.in] Sent: 17 August 2016 13:11 To: fop-dev@xmlgraphics.apache.org Subject: RE: rendering Image file(png/bmp) on AFP file Hi, Can

RE: rendering Image file(png/bmp) on AFP file

2016-08-17 Thread Rajkumar Singh
Hi, Can you help me to provide a sample for adding image in AFP file. I am trying with IMImageObject And my sample code is IMImageObject io = new IMImageObject(imagePath); ImageOutputControl ioc = new ImageOutputControl(0, 0);

RE: rendering Image file(png/bmp) on AFP file

2016-08-17 Thread Rajkumar Singh
Hi, Thanks for response! One thing I forgot to mention that I am doing it without xsl. Please find attachment code to write text/image to AFP file. Write text is successful but write image is getting failed. Some portion of code that try to write image to AFP page as below: