Re: TIFF image rendering in pdf is lossy

2003-07-29 Thread Angus Stewart
It would seem that the real issue is that some code I was using was
doing an implicit convert of the tif image to jpeg before the 
transformation took place.

Sorry to bother.

Angus Stewart wrote:
 
 FOP 0.20.5rc2
 
 ISSUE: TIFF image rendering in pdf is lossy.
 
 QUESTION 1: Is this a configuration item?
 QUESTION 2: How can I, as a user, resolve this issue.
 
 Comparison of tiff image to rendered image in pdf. PDF
 shows marked degredation.
 
 PDF contains tag: /DCTDecode - indicates lossy compression
 
 Using a faxed tiff image.
 
 Looked at ./org/apache/fop/image/TiffImage.java:
   According to code when compression type equals 3 use CCFFilter.
   Suspect, however, that DCTFilter used instead.
 
 tiffinfo:
   Image Width: 1728 Image Length: 1073
   Resolution: 204, 98 pixels/inch
   Bits/Sample: 1
   Compression Scheme: CCITT Group 3
   Photometric Interpretation: min-is-white
   FillOrder: msb-to-lsb
   Orientation: row 0 top, col 0 lhs
   Samples/Pixel: 1
   Rows/Strip: 1073
   Planar Configuration: single image plane
   Group 3 Options: (0 = 0x0)
   Fax Data: clean (0 = 0x0)
 
 Can convert the image format and render with better 'visual'
 results, but this makes fop a little hungry. (tried png).
 
 Your help is appreciated.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: TIFF image rendering in pdf is lossy

2003-07-29 Thread Angus Stewart
Thanx Manuel,

The problem turned out to be a utility class using JAI that
preprocesses the image and, if image format not specified, defaults
to JPEG ... NASTY.

For some reason, too, JAI will not read a tiff that we compress using
group 3 1D or 2D encoding.

For the time being will continue to use png images, however, still 
unhappy with the amount of memory and processing time this requires.

Angus

Manuel Mall wrote:
 
 Angus,
 
 have you got JAI (Java Advanced Imaging) in your FOP environment (see
 http://xml.apache.org/fop/graphics.html)?
 
 If not that may be the problem as the TIFF support relies on the presence of
 JAI. If JAI is not available it defaults to using JIMI and that again will
 DCT encode your images as JIMI has only very limited support for the TIFF
 format.
 
 Manuel
 
 -Original Message-
 From: Angus Stewart [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 29 July 2003 5:41
 To: [EMAIL PROTECTED]
 Subject: TIFF image rendering in pdf is lossy
 
 FOP 0.20.5rc2
 
 ISSUE: TIFF image rendering in pdf is lossy.
 
 QUESTION 1: Is this a configuration item?
 QUESTION 2: How can I, as a user, resolve this issue.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



RE: TIFF image rendering in pdf is lossy

2003-07-29 Thread Manuel Mall
Angus,

let me know if you need any more help with this - I was the culprit who
submitted the support for the CCFFilter to FOP. We needed it as we render
lots of incoming faxes into PDF. But they are Group 4 encoded.

Manuel

-Original Message-
From: Angus Stewart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 29 July 2003 20:41
To: [EMAIL PROTECTED]
Subject: Re: TIFF image rendering in pdf is lossy


Thanx Manuel,

The problem turned out to be a utility class using JAI that
preprocesses the image and, if image format not specified, defaults
to JPEG ... NASTY.

For some reason, too, JAI will not read a tiff that we compress using
group 3 1D or 2D encoding.

For the time being will continue to use png images, however, still 
unhappy with the amount of memory and processing time this requires.

Angus

Manuel Mall wrote:
 
 Angus,
 
 have you got JAI (Java Advanced Imaging) in your FOP environment (see
 http://xml.apache.org/fop/graphics.html)?
 
 If not that may be the problem as the TIFF support relies on the presence
of
 JAI. If JAI is not available it defaults to using JIMI and that again will
 DCT encode your images as JIMI has only very limited support for the TIFF
 format.
 
 Manuel
 
 -Original Message-
 From: Angus Stewart [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 29 July 2003 5:41
 To: [EMAIL PROTECTED]
 Subject: TIFF image rendering in pdf is lossy
 
 FOP 0.20.5rc2
 
 ISSUE: TIFF image rendering in pdf is lossy.
 
 QUESTION 1: Is this a configuration item?
 QUESTION 2: How can I, as a user, resolve this issue.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



TIFF image rendering in pdf is lossy

2003-07-28 Thread Angus Stewart
FOP 0.20.5rc2

ISSUE: TIFF image rendering in pdf is lossy.

QUESTION 1: Is this a configuration item?
QUESTION 2: How can I, as a user, resolve this issue.

Comparison of tiff image to rendered image in pdf. PDF 
shows marked degredation.

PDF contains tag: /DCTDecode - indicates lossy compression

Using a faxed tiff image.  

Looked at ./org/apache/fop/image/TiffImage.java:
  According to code when compression type equals 3 use CCFFilter.
  Suspect, however, that DCTFilter used instead.

tiffinfo:
  Image Width: 1728 Image Length: 1073
  Resolution: 204, 98 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 1073
  Planar Configuration: single image plane
  Group 3 Options: (0 = 0x0)
  Fax Data: clean (0 = 0x0)

Can convert the image format and render with better 'visual'
results, but this makes fop a little hungry. (tried png).

Your help is appreciated.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



RE: TIFF image rendering in pdf is lossy

2003-07-28 Thread Manuel Mall
Angus,

have you got JAI (Java Advanced Imaging) in your FOP environment (see
http://xml.apache.org/fop/graphics.html)?

If not that may be the problem as the TIFF support relies on the presence of
JAI. If JAI is not available it defaults to using JIMI and that again will
DCT encode your images as JIMI has only very limited support for the TIFF
format.

Manuel

-Original Message-
From: Angus Stewart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 29 July 2003 5:41
To: [EMAIL PROTECTED]
Subject: TIFF image rendering in pdf is lossy


FOP 0.20.5rc2

ISSUE: TIFF image rendering in pdf is lossy.

QUESTION 1: Is this a configuration item?
QUESTION 2: How can I, as a user, resolve this issue.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



image rendering

2002-07-18 Thread Jochen . Maes


Dear all,


I use the external graphic tag for adding an image to my document...
but it doesn't show nicely it is a jpeg straight from a vector image (eps)
and in the correct size as it should be shown

is there a way to make the image sharper when it is in the pdf of embedd it
sharper? Cause @ this time it realy looks bad...

if you wan't i'll send you guyz the pdf and the logo...


greetings



Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Image Rendering Problem.

2002-07-15 Thread Oleg Tkachenko

Purvesh Vora wrote:

 It really takes lot of generate pdf. Somebody on the fop-user list suggested
 me to scale down the image before feeding to image. 
 Could this help me. or any other solution. Also can you please suggest me
 some java library( or any other efficient software) to scale down image.
Sun's JAI API is not bad one. See http://java.sun.com/products/java-media/jai

-- 
Oleg Tkachenko
Multiconn International, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]