DO NOT REPLY [Bug 36224] New: - [PATCH] Support for CCITTFaxDecode filter (TIFF images) in PDF Renderer

2005-08-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36224.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36224

   Summary: [PATCH] Support for CCITTFaxDecode filter (TIFF images)
in PDF Renderer
   Product: Fop
   Version: 1.0dev
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: images
AssignedTo: fop-dev@xml.apache.org
ReportedBy: [EMAIL PROTECTED]


This patch ports the 0.20.5 CCITTFaxDecode filter functionality and its support
of direct embedding on certain TIFF images to the trunk.

It also cleans up some of the image handling with respect to consistent closing
of the input stream to avoid dangling open files.

There is most likely still a fundamental problem with respect to image decoding
and the image cache left. As renderers differ in their ability to handle an
image in its raw format or decoded the format, the image bitmap stored (raw or
decoded) depends on the first renderer loading it. If in a subsequent invocation
a different renderer get the same image from the cache it may not be in the
format that the second renderer expects leading to undesirable results. I'll
leave that for a later time.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 36224] - [PATCH] Support for CCITTFaxDecode filter (TIFF images) in PDF Renderer

2005-08-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36224.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36224





--- Additional Comments From [EMAIL PROTECTED]  2005-08-17 15:05 ---
Created an attachment (id=16079)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16079action=view)
Patch file


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 36224] - [PATCH] Support for CCITTFaxDecode filter (TIFF images) in PDF Renderer

2005-08-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36224.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36224





--- Additional Comments From [EMAIL PROTECTED]  2005-08-17 15:06 ---
Created an attachment (id=16080)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16080action=view)
New class - src\java\org\apache\fop\pdf\CCFFilter.java


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 36224] - [PATCH] Support for CCITTFaxDecode filter (TIFF images) in PDF Renderer

2005-08-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36224.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36224





--- Additional Comments From [EMAIL PROTECTED]  2005-08-17 15:10 ---
Created an attachment (id=16081)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16081action=view)
TIFF file with CCITT Group 4 encoding for testing

Not sure where this file should go. It really belongs to some renderer testing
resources. May be it can go into test/resources/images if this is the
repository for all test images being it for layout or for render testing.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


TIFF images and color model

2005-08-17 Thread Manuel Mall
This is probably more a Batik question but as I encountered it in the 
FOP context and Batik people are on this list here we go:

When decoding a TIFF image (black / white fax) using Batik and then 
looking at the returned color space, e.g.
  image.getColorModel().getColorSpace();
that color space has a profile of java.awa.color.ICC_ProfileRGB. 
However, I would have expected a color space of ICC_ProfileGray. This 
is sort of important as the correct color space must be set on the 
image object in the PDF. I currently set it manually but thats not 
ideal.

Manuel




WIKI update to FOP IDE Setup Guide

2005-08-17 Thread Manuel Mall
Just did my first FOP WIKI update. I added instructions for NetBeans to 
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide.

Hope that's OK. Please yell if I shouldn't do this or should do it 
differently.

Manuel