Hi,

I am using FOP 1.1 and generating a PDF through XML and XSL. I am trying to
stop DCTDecode compression for images. The following snippet is from my
PDF, Which has DCTDecode filter for image object, even after adding filter
value to null in config file.

/Name /Im1
  /Type /XObject
  /Length 13 0 R
  /Filter /DCTDecode
  /Subtype /Image
  /Width 550
  /Height 432
  /BitsPerComponent 8
  /ColorSpace /DeviceRGB

I tried following settings in my config file.

<renderer mime="application/pdf">
  <filterList>
    <value>null</value>
  </filterList>
  <filterList type="image">
    <value>null</value>
    <value>ascii-85</value>
  </filterList>

and

<renderer mime="application/pdf">
  <filterList>
    <value>null</value>
  </filterList>

But DCTDecode is still happening and because this is lossy compression, the
image quality is lost. Can DCTDecode be stopped for images by doing any
config setting?

Thanks
Neeraj


In Config file,

Reply via email to