Re: How to load tiff images successfully in PDF

2010-10-30 Thread mehdi houshmand
Hi SriKrishan,

I think there may have been some confusion about what I said, first of
all this tif image embedding is supported by FOP 0.95, so I asked if
you could open the tif file using a image viewer. The command you have
used is perfectly valid (if the tif file is indeed it does point at
the tif file) so the issue could be that the tif file is corrupted and
thereby throwing this error. It's worth checking if the tif file is a
valid TIFF.

Just for clarification, I was suggesting my question was stupid not yours.

Thanks

Mehdi

On 30 October 2010 05:54, SriKrishnan srikrish...@techset.co.uk wrote:
 Hi,



 May be it is a stupid question for you.



 As I said clearly in my mail, I am new to FOP. I don’t found any proper user
 friendly Documentation for FOP. So I am in a confusion whether I missed
 something or anything not supported by FOP. If you people like experts in
 all these things need any further details if you ask me, certainly it is my
 duty to furnish those details.



 My system and software details:



 OS: Windows XP professional

 FOP: version 0.95

 Saxon: version 8



 I have tried to open the pdf in two version of Acrobat



 In version 9, it popup the error message as mentioned in my earlier mail
 (with empty space for the image places).

 In version 6, it popup the error message as “Colour space” (with empty space
 for the image places)

 In GSVIEW, without showing any error message it opens the pdf  (with empty
 space for the image places)



 If you are not interested to answer such a stupid questions, don’t reply.
 Such kind of replies will discourage new users



 Regards,

 Srikrishnan







 

 From: SriKrishnan [mailto:srikrish...@techset.co.uk]
 Sent: Friday, October 29, 2010 3:02 PM
 To: 'fop-users@xmlgraphics.apache.org'
 Subject: How to load tiff images successfully in PDF



 Hi all,



 I am new to fop. I have successfully converted fo to pdf when gif images are
 loaded in the file. When came to tif images, pdf creates successfully, but
 when I scroll to the image page in Adobe Acrobat, the following error
 message popup:



 “An error exists on this page. Acrobat may not display the page correctly.
 Please contact the person who created the PDF document to correct the
 problem”



 My fo coding is as follows:



 fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto
 height=auto content-width=auto content-height=auto/



 But in the same above coding when I use gif image it works correctly. Any
 help would be very much useful.



 Thanks in Advance,

 Srikrishnan





-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: How to load tiff images successfully in PDF

2010-10-30 Thread SriKrishnan
Hi,

 

Sorry I forgot to mention one more thing:

 

My tiff images are not corrupted those are embedded correctly in the pdf
when I use them through InDesign or Quark or LaTeX

 

Thanks,

Srikrishnan 

 

  _  

From: SriKrishnan [mailto:srikrish...@techset.co.uk] 
Sent: Saturday, October 30, 2010 10:24 AM
To: 'fop-users@xmlgraphics.apache.org'
Subject: RE: How to load tiff images successfully in PDF
Importance: High

 

Hi,

 

May be it is a stupid question for you.

 

As I said clearly in my mail, I am new to FOP. I don't found any proper user
friendly Documentation for FOP. So I am in a confusion whether I missed
something or anything not supported by FOP. If you people like experts in
all these things need any further details if you ask me, certainly it is my
duty to furnish those details. 

 

My system and software details:

 

OS: Windows XP professional

FOP: version 0.95

Saxon: version 8

 

I have tried to open the pdf in two version of Acrobat

 

In version 9, it popup the error message as mentioned in my earlier mail
(with empty space for the image places).

In version 6, it popup the error message as Colour space (with empty space
for the image places)

In GSVIEW, without showing any error message it opens the pdf  (with empty
space for the image places)

 

If you are not interested to answer such a stupid questions, don't reply.
Such kind of replies will discourage new users

 

Regards,

Srikrishnan

 

 

 

  _  

From: SriKrishnan [mailto:srikrish...@techset.co.uk] 
Sent: Friday, October 29, 2010 3:02 PM
To: 'fop-users@xmlgraphics.apache.org'
Subject: How to load tiff images successfully in PDF

 

Hi all,

 

I am new to fop. I have successfully converted fo to pdf when gif images are
loaded in the file. When came to tif images, pdf creates successfully, but
when I scroll to the image page in Adobe Acrobat, the following error
message popup:

 

An error exists on this page. Acrobat may not display the page correctly.
Please contact the person who created the PDF document to correct the
problem

 

My fo coding is as follows:

 

fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto
height=auto content-width=auto content-height=auto/

 

But in the same above coding when I use gif image it works correctly. Any
help would be very much useful.

 

Thanks in Advance,

Srikrishnan

 

 



Re: Error with X11GraphicsEnvironment

2010-10-30 Thread Helder Magalhães
 Hello,

Hi Venkateswara,


 To: gene...@xmlgraphics.apache.org, fop-users@xmlgraphics.apache.org, 
 fop-users-h...@xmlgraphics.apache.org

Please don't cross-post at so many mailing list at a time: instead,
pick a mailing list [1] wisely (in this case, possibly a users list
(fop-users@, the one I'm replying to) and wait patiently for a
response before recalling the subject and/or attempting other mailing
list. Thanks! :-)

BTW: does fop-users-help@ even exists? I guess that might be reserved
for administrative purposes... :-|



 I am using Apache FOP to generate a PDF as per my requirement.

 I have written a program to convert an XML data into PDF. This was working
 fine on my local machine, Windows XP sp2.

 When I roll out my code to my DEV server, Linux devsrv1  2.6.9-55.ELsmp #1
 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux. I am facing the
 following exception :

 java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
[...]

As you provide almost no interesting information (for example, FOP and
Java run-time versions are much more important that operating system,
IMO), I'd still say that there's a simple explanation for this: your
server is headless (that is, no graphics adapted is available).

You can reproduce this in your Windows environment (which has a
graphics adapter) using the information in Batik bug 42408 [2] (and
maybe even help testing the patch available there?).


 Can you please support me with suggestion or can you forward me with some
 references where I can overcome these errors.

Please provide more detailed information about your environment at a
next opportunity! ;-)


 Thanks In Advance.


 Regards,

 Venkateswara Gupta Grandhi.

Hope this helps,
 Helder


[1] http://xmlgraphics.apache.org/mail.html
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=42408

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



AW: How to load tiff images successfully in PDF

2010-10-30 Thread Georg Datterl
Hi Srikrishnan,

When you generated the pdf, did fop give you any infos, warnings or errors 
regarding your tiff files? It's quite possible (I had it with PNG files) that 
fop can't process the file, prints a warning to log and continues to build the 
pdf. Even if other applications open your tiff files, fop may not like them.

Regards,

Georg Datterl

-- Kontakt --

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.dehttp://www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:
www.irs-nbg.dehttp://www.irs-nbg.de
Willmy PrintMedia GmbH:
www.willmy.dehttp://www.willmy.de
Willmy Consult  Content GmbH: 
www.willmycc.dehttp://www.willmycc.de

Von: SriKrishnan [mailto:srikrish...@techset.co.uk]
Gesendet: Samstag, 30. Oktober 2010 07:24
An: fop-users@xmlgraphics.apache.org
Betreff: RE: How to load tiff images successfully in PDF

Hi,

Sorry I forgot to mention one more thing:

My tiff images are not corrupted those are embedded correctly in the pdf when I 
use them through InDesign or Quark or LaTeX

Thanks,
Srikrishnan


From: SriKrishnan [mailto:srikrish...@techset.co.uk]
Sent: Saturday, October 30, 2010 10:24 AM
To: 'fop-users@xmlgraphics.apache.org'
Subject: RE: How to load tiff images successfully in PDF
Importance: High

Hi,

May be it is a stupid question for you.

As I said clearly in my mail, I am new to FOP. I don't found any proper user 
friendly Documentation for FOP. So I am in a confusion whether I missed 
something or anything not supported by FOP. If you people like experts in all 
these things need any further details if you ask me, certainly it is my duty to 
furnish those details.

My system and software details:

OS: Windows XP professional
FOP: version 0.95
Saxon: version 8

I have tried to open the pdf in two version of Acrobat

In version 9, it popup the error message as mentioned in my earlier mail (with 
empty space for the image places).
In version 6, it popup the error message as Colour space (with empty space 
for the image places)
In GSVIEW, without showing any error message it opens the pdf  (with empty 
space for the image places)

If you are not interested to answer such a stupid questions, don't reply. Such 
kind of replies will discourage new users

Regards,
Srikrishnan




From: SriKrishnan [mailto:srikrish...@techset.co.uk]
Sent: Friday, October 29, 2010 3:02 PM
To: 'fop-users@xmlgraphics.apache.org'
Subject: How to load tiff images successfully in PDF

Hi all,

I am new to fop. I have successfully converted fo to pdf when gif images are 
loaded in the file. When came to tif images, pdf creates successfully, but when 
I scroll to the image page in Adobe Acrobat, the following error message popup:

An error exists on this page. Acrobat may not display the page correctly. 
Please contact the person who created the PDF document to correct the problem

My fo coding is as follows:

fo:external-graphic src=url(file:/c:/sample/lhp01301.tif) width=auto 
height=auto content-width=auto content-height=auto/

But in the same above coding when I use gif image it works correctly. Any help 
would be very much useful.

Thanks in Advance,
Srikrishnan