Re: Black images
On 31.07.2002 00:30:07 Darrel Riekhof wrote: > FYI, the temporary fix was to replace org.apache.fop.image.JpegImage in fop-0.20.3 >and fop-0.20.4 with the version of this class in fop-0.20.2. Now JPEGs with ICC >profiles come in as before. > > Code questions: > > 1) Why isn't the org.apache.fop.fo.properties package included in the source? Because it's generated during the build process. Check build/src. > 2) Why do the Fop developers capitalize some method names? For example: > > public static FopImage Make(String href) Looks like someone didn't follow the code conventions. I don't think there's any special reason for that. Thanks for pointing it out. > > Thanks again Jeremias, you were a huge help for us. Happy to help. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Black images
FYI, the temporary fix was to replace org.apache.fop.image.JpegImage in fop-0.20.3 and fop-0.20.4 with the version of this class in fop-0.20.2. Now JPEGs with ICC profiles come in as before. Code questions: 1) Why isn't the org.apache.fop.fo.properties package included in the source? 2) Why do the Fop developers capitalize some method names? For example: public static FopImage Make(String href) Thanks again Jeremias, you were a huge help for us. Darrel -Original Message- From: Darrel Riekhof Sent: Tuesday, July 30, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: RE: Black images Thanks Jeremias, I will check bugzilla. Thanks a bunch for the code hints, we will try that. Darrel -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 1:34 AM To: [EMAIL PROTECTED] Subject: Re: Black images Probably. Support was added for JPEG images to be embedded directly into PDF. Until then JPEGS were read into memory by Jimi and written to the PDF as a normal bitmap equal to the way GIFs and PNGs are written (using non-lossy ZLib compression). So probably, Jimi was able to open those JPEG images but something goes wrong today with the JPEGs that are directly embedded in a PDF. As the whole image support stuff is rather hardcoded at the moment, you might want to try to modify org.apache.fop.images.FopImageFactory and org.apache.fop.images.analyser.ImageReaderFactory to comment out JPEG support. That will restore the way JPEG images were handled back in 0.20.2. But you will get bigger PDFs. This is of course a short-term work-around. We still need to find out the real problem. Would you mind checking BugZilla, if there's already an entry for this problem? If not, please open a new bug report and add one or two of your problem-JPEGs as an attachment. This way we can fix it eventually. No idea if I get to have a look at it, because I wanted to work mostly on the redesign during the next few weeks. So takers are welcome. I hope this clears it up a bit. On 26.07.2002 20:37:51 Darrel Riekhof wrote: > We found the same thing. We also found that images with ICC Profiles display >correctly in FOP 0.20.2, but appear as black boxes in FOP 0.20.3 and 0.20.4. > > Anyone know what happened between .2 and .3 that would break this? > > Is there a way to strip out the ICC Profile of an image at runtime? Our users are >not terribly technical, asking them to not upload images with ICC Profiles may be a >little too much for them. > > Darrel Jeremias Maerki - 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]
RE: Black images
Thanks Jeremias, I will check bugzilla. Thanks a bunch for the code hints, we will try that. Darrel -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 1:34 AM To: [EMAIL PROTECTED] Subject: Re: Black images Probably. Support was added for JPEG images to be embedded directly into PDF. Until then JPEGS were read into memory by Jimi and written to the PDF as a normal bitmap equal to the way GIFs and PNGs are written (using non-lossy ZLib compression). So probably, Jimi was able to open those JPEG images but something goes wrong today with the JPEGs that are directly embedded in a PDF. As the whole image support stuff is rather hardcoded at the moment, you might want to try to modify org.apache.fop.images.FopImageFactory and org.apache.fop.images.analyser.ImageReaderFactory to comment out JPEG support. That will restore the way JPEG images were handled back in 0.20.2. But you will get bigger PDFs. This is of course a short-term work-around. We still need to find out the real problem. Would you mind checking BugZilla, if there's already an entry for this problem? If not, please open a new bug report and add one or two of your problem-JPEGs as an attachment. This way we can fix it eventually. No idea if I get to have a look at it, because I wanted to work mostly on the redesign during the next few weeks. So takers are welcome. I hope this clears it up a bit. On 26.07.2002 20:37:51 Darrel Riekhof wrote: > We found the same thing. We also found that images with ICC Profiles display >correctly in FOP 0.20.2, but appear as black boxes in FOP 0.20.3 and 0.20.4. > > Anyone know what happened between .2 and .3 that would break this? > > Is there a way to strip out the ICC Profile of an image at runtime? Our users are >not terribly technical, asking them to not upload images with ICC Profiles may be a >little too much for them. > > Darrel Jeremias Maerki - 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: Black images
Probably. Support was added for JPEG images to be embedded directly into PDF. Until then JPEGS were read into memory by Jimi and written to the PDF as a normal bitmap equal to the way GIFs and PNGs are written (using non-lossy ZLib compression). So probably, Jimi was able to open those JPEG images but something goes wrong today with the JPEGs that are directly embedded in a PDF. As the whole image support stuff is rather hardcoded at the moment, you might want to try to modify org.apache.fop.images.FopImageFactory and org.apache.fop.images.analyser.ImageReaderFactory to comment out JPEG support. That will restore the way JPEG images were handled back in 0.20.2. But you will get bigger PDFs. This is of course a short-term work-around. We still need to find out the real problem. Would you mind checking BugZilla, if there's already an entry for this problem? If not, please open a new bug report and add one or two of your problem-JPEGs as an attachment. This way we can fix it eventually. No idea if I get to have a look at it, because I wanted to work mostly on the redesign during the next few weeks. So takers are welcome. I hope this clears it up a bit. On 26.07.2002 20:37:51 Darrel Riekhof wrote: > We found the same thing. We also found that images with ICC Profiles display >correctly in FOP 0.20.2, but appear as black boxes in FOP 0.20.3 and 0.20.4. > > Anyone know what happened between .2 and .3 that would break this? > > Is there a way to strip out the ICC Profile of an image at runtime? Our users are >not terribly technical, asking them to not upload images with ICC Profiles may be a >little too much for them. > > Darrel Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Black images
We found the same thing. We also found that images with ICC Profiles display correctly in FOP 0.20.2, but appear as black boxes in FOP 0.20.3 and 0.20.4. Anyone know what happened between .2 and .3 that would break this? Is there a way to strip out the ICC Profile of an image at runtime? Our users are not terribly technical, asking them to not upload images with ICC Profiles may be a little too much for them. Darrel -Original Message- From: Northrop, Jeff (REPP-Heinemann) [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 4:51 AM To: '[EMAIL PROTECTED]' Subject: RE: Black images I've experienced similar problems. I've found if you remove the option for "ICC Profile:" in the "Save As" dialog the image will render properly in the PDF. I assume this option adds some data to the jpg resulting in the display problem not only with FOP and PDFs but I've had problems in the past with other applications as well. Jeff -Original Message- From: "Buchtík, Michal" [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 1:41 AM To: '[EMAIL PROTECTED]' Subject: RE: Black images This problem occurs when i save the jpg image in Photoshop (i use version 5.0). When i convert it with ACDSee (for example), the problem is resolved. But I don't know, where's the problem in FOP+Photoshop JPGs. Michal -Original Message- From: Darrel Riekhof [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 12:16 AM To: [EMAIL PROTECTED] Subject: Black images Some images, when FOP embeds them in the PDF, show up as all black rectangles. The size of the image is correct. However, this only occurs if you are using 16 bit color or higher. If you lower the color res down to 256 colors, then images always show up in the pdf in acrobat reader. Client is Win2000, Acrobat Reader 5, Fop server process is running on red hat linux 7.2 server, fop 2.0.3. I think this behavior only started happening in FOP 2.0.3, but I'm not totally sure about this. I can't figure out if it is an acrobat or fop thing. Is this a known issue with FOP? Anyone found a work-around for this? Darrel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ** This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. REPP-Greenwood Publishing Group Network Administration @ 603-431-7894 ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Black images
Some images, when FOP embeds them in the PDF, show up as all black rectangles. The size of the image is correct. However, this only occurs if you are using 16 bit color or higher. If you lower the color res down to 256 colors, then images always show up in the pdf in acrobat reader. Client is Win2000, Acrobat Reader 5, Fop server process is running on red hat linux 7.2 server, fop 2.0.3. I think this behavior only started happening in FOP 2.0.3, but I'm not totally sure about this. I can't figure out if it is an acrobat or fop thing. Is this a known issue with FOP? Anyone found a work-around for this? Darrel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
black images
Hi all, I don't know if it is a bug, so i don't want to overload bugzilla for the moment. My prob is : I'm inserting jpg images in my pdf content, and sometimes, the picture is replaced by a black box whose dimensions are the dimensions of my image. Obviously, those images are ok in my html browser... Any clue? Thanks in advance, Fred. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]