RE: Help needed on Image rendering

2012-06-27 Thread Musale, Meenakshi - GEXPRO

Hi,

How did you fix the issue?. can you please elaborate and if possible can you 
send me generated catalog?



From: Luis Bernardo [mailto:lmpmberna...@gmail.com]
Sent: Wednesday, June 27, 2012 7:38 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering


I used your *.xml and *.xsl files, fixed the image paths, and ran from the 
command line:

macmaxi:code lbernardo$ ../../Documents/fop-1.0/fop -xml test.xml -xsl test.xsl 
-pdf test.pdf 2>&1 | grep SEVERE | sort -u
SEVERE: Couldn't find hyphenation pattern en
SEVERE: Image not found. URI: images/GES316847483.jpg. (No context info 
available)
SEVERE: Image not found. URI: images/Gexpro.jpg. (No context info available)
macmaxi:code lbernardo$ ls -l images/GES316847483.jpg
ls: images/GES316847483.jpg: No such file or directory
macmaxi:code lbernardo$ ls -l images/GES316847483.jpg
ls: images/GES316847483.jpg: No such file or directory

So, only two images could not be found and they are not in the zip you sent. 
The resulting PDF is a catalog of 679 pages.

On 6/27/12 8:51 PM, Musale, Meenakshi - GEXPRO wrote:
As an FYI..
I am using below jars.

1. avalon-framework-4.2.0.jar
2. barcode4j.jar
3. barcode4j-fop-ext.jar
4. barcode4j-fop-ext-complete.jar
5. batik-all-1.7.jar
6. classes12.jar
7. commons-io-1.3.1.jar
8.commons-logging-1.0.4.jar
9.fop.jar
10. fop-hyph.jar
11. serializer-2.7.0.jar
12. xalan-2.7.0.jar
13. xercesImpl-2.7.1.jar
14. xml-apis-1.3.04.jar
15. xml-apis-ext-1.3.04.jar
16. xmlgraphics-commons-1.4.jar


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Musale, Meenakshi - GEXPRO
Sent: Wednesday, June 27, 2012 3:04 PM
To: 'Rob Sargent'
Cc: fop-users@xmlgraphics.apache.org
Subject: RE: Help needed on Image rendering

Hi Rob,

I am sorry which files are you asking, image file or any other file?

If you are asking about image file then, yes these files exist and no zero 
length files. I had attached image zip in my previous email which are being 
used in xml file.

Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Rob Sargent [mailto:rsarg...@xmission.com]
Sent: Wednesday, June 27, 2012 2:56 PM
To: Musale, Meenakshi - GEXPRO
Cc: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering

Can you show that the file(s) do(es) in fact exist? And that they are no 
zero-length files?

On 06/27/2012 12:34 PM, Musale, Meenakshi - GEXPRO wrote:
Hi Rob,

Attached "code.zip" contains
1. xml file which is having data used for PDF generation.
2. xsl file which has FOP tags for generating PDF.
3. Java code which in which xml, xsl is used to generate PDF.

I am using FOP1.0 version and the type of image is jpg.

Actual error message in log like

"org.apache.fop.fo.flow.ExternalGraphic bind
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg"

Jun 27, 2012 12:20:23 PM org.apache.fop.render.pdf.PDFRenderer putImage
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg

I have done testing with various scenarios and did compressed images but still 
some of the images not coming up properly.
In the attached XML file almost 1570 number of images being used among that 50 
+ images blanks out.

Please let me know if need any help.


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Rob Sargent [mailto:rsarg...@xmission.com]
Sent: Tuesday, June 26, 2012 8:22 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering

Show the fo (xml) you are feeding to fop.
Show the actual error message.
Show your configuration.
Show which type of images work, which don't.

On 06/26/2012 06:15 AM, Musale, Meenakshi - GEXPRO wrote:
Hi,

I am facing random issues with image rendering while PDF generation with FOP 
1.0 version.

Some images are coming properly but some of them are not. Images are present in 
location but still it gives exception :"Image not found"

Please let me know where I can subscribe to solve my issue. Any help will be 
appreciated.


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>









Re: Help needed on Image rendering

2012-06-27 Thread Luis Bernardo


I used your *.xml and *.xsl files, fixed the image paths, and ran from 
the command line:


macmaxi:code lbernardo$ ../../Documents/fop-1.0/fop -xml test.xml -xsl 
test.xsl -pdf test.pdf 2>&1 | grep SEVERE | sort -u

SEVERE: Couldn't find hyphenation pattern en
SEVERE: Image not found. URI: images/GES316847483.jpg. (No context info 
available)

SEVERE: Image not found. URI: images/Gexpro.jpg. (No context info available)
macmaxi:code lbernardo$ ls -l images/GES316847483.jpg
ls: images/GES316847483.jpg: No such file or directory
macmaxi:code lbernardo$ ls -l images/GES316847483.jpg
ls: images/GES316847483.jpg: No such file or directory

So, only two images could not be found and they are not in the zip you 
sent. The resulting PDF is a catalog of 679 pages.


On 6/27/12 8:51 PM, Musale, Meenakshi - GEXPRO wrote:

As an FYI..
I am using below jars.
1. avalon-framework-4.2.0.jar
2. barcode4j.jar
3. barcode4j-fop-ext.jar
4. barcode4j-fop-ext-complete.jar
5. batik-all-1.7.jar
6. classes12.jar
7. commons-io-1.3.1.jar
8.commons-logging-1.0.4.jar
9.fop.jar
10. fop-hyph.jar
11. serializer-2.7.0.jar
12. xalan-2.7.0.jar
13. xercesImpl-2.7.1.jar
14. xml-apis-1.3.04.jar
15. xml-apis-ext-1.3.04.jar
16. xmlgraphics-commons-1.4.jar
*Regards,*
**
**
*Meenakshi Musale*
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.com 
mailto:meenakshi.mus...@gexpro.com>



*From:* Musale, Meenakshi - GEXPRO
*Sent:* Wednesday, June 27, 2012 3:04 PM
*To:* 'Rob Sargent'
*Cc:* fop-users@xmlgraphics.apache.org
*Subject:* RE: Help needed on Image rendering

Hi Rob,
I am sorry which files are you asking, image file or any other file?
If you are asking about image file then, yes these files exist and no 
zero length files. I had attached image zip in my previous email which 
are being used in xml file.

*Regards,*
**
**
*Meenakshi Musale*
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.com 
mailto:meenakshi.mus...@gexpro.com>



*From:* Rob Sargent [mailto:rsarg...@xmission.com]
*Sent:* Wednesday, June 27, 2012 2:56 PM
*To:* Musale, Meenakshi - GEXPRO
*Cc:* fop-users@xmlgraphics.apache.org
*Subject:* Re: Help needed on Image rendering

Can you show that the file(s) do(es) in fact exist? And that they are 
no zero-length files?


On 06/27/2012 12:34 PM, Musale, Meenakshi - GEXPRO wrote:

Hi Rob,
Attached "code.zip" contains
1. xml file which is having data used for PDF generation.
2. xsl file which has FOP tags for generating PDF.
3. Java code which in which xml, xsl is used to generate PDF.
I am using FOP1.0 version and the type of image is jpg.
Actual error message in log like
"org.apache.fop.fo.flow.ExternalGraphic bind
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg"
Jun 27, 2012 12:20:23 PM org.apache.fop.render.pdf.PDFRenderer putImage
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg
I have done testing with various scenarios and did compressed images 
but still some of the images not coming up properly.
In the attached XML file almost 1570 number of images being used 
among that 50 + images blanks out.

Please let me know if need any help.
*Regards,*
**
**
*Meenakshi Musale*
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.com 
mailto:meenakshi.mus...@gexpro.com>



*From:* Rob Sargent [mailto:rsarg...@xmission.com]
*Sent:* Tuesday, June 26, 2012 8:22 AM
*To:* fop-users@xmlgraphics.apache.org
*Subject:* Re: Help needed on Image rendering

Show the fo (xml) you are feeding to fop.
Show the actual error message.
Show your configuration.
Show which type of images work, which don't.

On 06/26/2012 06:15 AM, Musale, Meenakshi - GEXPRO wrote:

Hi,
I am facing random issues with image rendering while PDF generation 
with FOP 1.0 version.
Some images are coming properly but some of them are not. Images are 
present in location but still it gives exception :"Image not found"
Please let me know where I can subscribe to solve my issue. Any help 
will be appreciated.

*Regards,*
**
**
*Meenakshi Musale*
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.com 
mailto:meenakshi.mus...@gexpro.com>











RE: Help needed on Image rendering

2012-06-27 Thread Musale, Meenakshi - GEXPRO
As an FYI..
I am using below jars.

1. avalon-framework-4.2.0.jar
2. barcode4j.jar
3. barcode4j-fop-ext.jar
4. barcode4j-fop-ext-complete.jar
5. batik-all-1.7.jar
6. classes12.jar
7. commons-io-1.3.1.jar
8.commons-logging-1.0.4.jar
9.fop.jar
10. fop-hyph.jar
11. serializer-2.7.0.jar
12. xalan-2.7.0.jar
13. xercesImpl-2.7.1.jar
14. xml-apis-1.3.04.jar
15. xml-apis-ext-1.3.04.jar
16. xmlgraphics-commons-1.4.jar


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Musale, Meenakshi - GEXPRO
Sent: Wednesday, June 27, 2012 3:04 PM
To: 'Rob Sargent'
Cc: fop-users@xmlgraphics.apache.org
Subject: RE: Help needed on Image rendering

Hi Rob,

I am sorry which files are you asking, image file or any other file?

If you are asking about image file then, yes these files exist and no zero 
length files. I had attached image zip in my previous email which are being 
used in xml file.

Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Rob Sargent [mailto:rsarg...@xmission.com]
Sent: Wednesday, June 27, 2012 2:56 PM
To: Musale, Meenakshi - GEXPRO
Cc: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering

Can you show that the file(s) do(es) in fact exist? And that they are no 
zero-length files?

On 06/27/2012 12:34 PM, Musale, Meenakshi - GEXPRO wrote:
Hi Rob,

Attached "code.zip" contains
1. xml file which is having data used for PDF generation.
2. xsl file which has FOP tags for generating PDF.
3. Java code which in which xml, xsl is used to generate PDF.

I am using FOP1.0 version and the type of image is jpg.

Actual error message in log like

"org.apache.fop.fo.flow.ExternalGraphic bind
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg"

Jun 27, 2012 12:20:23 PM org.apache.fop.render.pdf.PDFRenderer putImage
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg

I have done testing with various scenarios and did compressed images but still 
some of the images not coming up properly.
In the attached XML file almost 1570 number of images being used among that 50 
+ images blanks out.

Please let me know if need any help.


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Rob Sargent [mailto:rsarg...@xmission.com]
Sent: Tuesday, June 26, 2012 8:22 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering

Show the fo (xml) you are feeding to fop.
Show the actual error message.
Show your configuration.
Show which type of images work, which don't.

On 06/26/2012 06:15 AM, Musale, Meenakshi - GEXPRO wrote:
Hi,

I am facing random issues with image rendering while PDF generation with FOP 
1.0 version.

Some images are coming properly but some of them are not. Images are present in 
location but still it gives exception :"Image not found"

Please let me know where I can subscribe to solve my issue. Any help will be 
appreciated.


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>







RE: Help needed on Image rendering

2012-06-27 Thread Musale, Meenakshi - GEXPRO
Hi Rob,

I am sorry which files are you asking, image file or any other file?

If you are asking about image file then, yes these files exist and no zero 
length files. I had attached image zip in my previous email which are being 
used in xml file.

Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Rob Sargent [mailto:rsarg...@xmission.com]
Sent: Wednesday, June 27, 2012 2:56 PM
To: Musale, Meenakshi - GEXPRO
Cc: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering

Can you show that the file(s) do(es) in fact exist? And that they are no 
zero-length files?

On 06/27/2012 12:34 PM, Musale, Meenakshi - GEXPRO wrote:
Hi Rob,

Attached "code.zip" contains
1. xml file which is having data used for PDF generation.
2. xsl file which has FOP tags for generating PDF.
3. Java code which in which xml, xsl is used to generate PDF.

I am using FOP1.0 version and the type of image is jpg.

Actual error message in log like

"org.apache.fop.fo.flow.ExternalGraphic bind
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg"

Jun 27, 2012 12:20:23 PM org.apache.fop.render.pdf.PDFRenderer putImage
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg

I have done testing with various scenarios and did compressed images but still 
some of the images not coming up properly.
In the attached XML file almost 1570 number of images being used among that 50 
+ images blanks out.

Please let me know if need any help.


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>



From: Rob Sargent [mailto:rsarg...@xmission.com]
Sent: Tuesday, June 26, 2012 8:22 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Help needed on Image rendering

Show the fo (xml) you are feeding to fop.
Show the actual error message.
Show your configuration.
Show which type of images work, which don't.

On 06/26/2012 06:15 AM, Musale, Meenakshi - GEXPRO wrote:
Hi,

I am facing random issues with image rendering while PDF generation with FOP 
1.0 version.

Some images are coming properly but some of them are not. Images are present in 
location but still it gives exception :"Image not found"

Please let me know where I can subscribe to solve my issue. Any help will be 
appreciated.


Regards,
Meenakshi Musale
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.commailto:meenakshi.mus...@gexpro.com>







Re: Help needed on Image rendering

2012-06-27 Thread Rob Sargent
Can you show that the file(s) do(es) in fact exist? And that they are no 
zero-length files?


On 06/27/2012 12:34 PM, Musale, Meenakshi - GEXPRO wrote:

Hi Rob,
Attached "code.zip" contains
1. xml file which is having data used for PDF generation.
2. xsl file which has FOP tags for generating PDF.
3. Java code which in which xml, xsl is used to generate PDF.
I am using FOP1.0 version and the type of image is jpg.
Actual error message in log like
"org.apache.fop.fo.flow.ExternalGraphic bind
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg"
Jun 27, 2012 12:20:23 PM org.apache.fop.render.pdf.PDFRenderer putImage
SEVERE: Image not found: /opt/apps/ecatalog/scripts/img/GES002746.jpg
I have done testing with various scenarios and did compressed images 
but still some of the images not coming up properly.
In the attached XML file almost 1570 number of images being used among 
that 50 + images blanks out.

Please let me know if need any help.
*Regards,*
**
**
*Meenakshi Musale*
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.com 
mailto:meenakshi.mus...@gexpro.com>



*From:* Rob Sargent [mailto:rsarg...@xmission.com]
*Sent:* Tuesday, June 26, 2012 8:22 AM
*To:* fop-users@xmlgraphics.apache.org
*Subject:* Re: Help needed on Image rendering

Show the fo (xml) you are feeding to fop.
Show the actual error message.
Show your configuration.
Show which type of images work, which don't.

On 06/26/2012 06:15 AM, Musale, Meenakshi - GEXPRO wrote:

Hi,
I am facing random issues with image rendering while PDF generation 
with FOP 1.0 version.
Some images are coming properly but some of them are not. Images are 
present in location but still it gives exception :"Image not found"
Please let me know where I can subscribe to solve my issue. Any help 
will be appreciated.

*Regards,*
**
**
*Meenakshi Musale*
Web Operations
IGate Americas Inc
Gexpro, 1000 Bridgeport Avenue.
Shelton, CT 06484, USA.
Tel: (203) 925 - 2480
Email: meenakshi.mus...@gexpro.com 
mailto:meenakshi.mus...@gexpro.com>