Re: Jpeg images rendered black

2003-04-04 Thread Christian Geisert
Marcus Andersson wrote:
Hello
First of all: I am using FOP-0.20.4 under jdk1.4.1. 

When I insert external-graphics that are in the gif and png formats everything 
works nice but when I try to include a jpg it just renders a black rectangle. 
Why? I have looked in the faqs and some other places but the only related is 
the thing about having to include jimi for pngs. Isn't jpgs supported or have I 
done something else wrong?
Example code: 
This sounds like the following bug:
http://archives.apache.org/bugzilla/show_bug.cgi?id=11301
which has been fixed in 0.20.5rc
Christian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Jpeg images rendered black

2003-04-03 Thread J.Pietschmann
Marcus Andersson wrote:
everything works nice but when I try to include a jpg it just renders a black
rectangle. Why? I have looked in the faqs and some other places but the only
related is the thing about having to include jimi for pngs. Isn't jpgs
supported or have I done something else wrong?
JPG images can contain all kind of weird color lookup tables and
color profiles, not all variants are supported (not to mention the
*illegal* subformats seen here and there in the wild). Just try a
JPG produced by a different graphic program. It may help to
specify 24bit color output.
I personally never met an unsupported JPG subformat.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Jpeg images rendered black

2003-04-03 Thread Marcus Andersson
I think it's a typo. I have (after a couple of times) noticed that the 
processor shouts out loud when trying to reference an image that isn't there. 
That isn't the case now...

/Marcus

- Original Message - 
From: "Clay Leeds" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 8:42 PM
Subject: Re: Jpeg images rendered black


> Marcus,
> 
> I have only seen this myself, when trying to use a GIF. BTW, it might be
> just a typo, but you have "someimg.jgp" below. Was that just a typo or
> should it be "someimg.jpg"?
> 
> ;-p
> 
> Marcus Andersson wrote:
> > Hello
> > 
> > First of all: I am using FOP-0.20.4 under jdk1.4.1. 
> > 
> > When I insert external-graphics that are in the gif and png formats 
> > everything works nice but when I try to include a jpg it just renders a 
> > black rectangle. Why? I have looked in the faqs and some other places but 
> > the only related is the thing about having to include jimi for pngs. Isn't 
> > jpgs supported or have I done something else wrong?
> > 
> > Example code: 
> 
> 
> -- 
> Clay Leeds - [EMAIL PROTECTED]
> Web Developer - Medata, Inc. - http://www.medata.com
> PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Jpeg images rendered black

2003-04-03 Thread Clay Leeds
Marcus,

I have only seen this myself, when trying to use a GIF. BTW, it might be
just a typo, but you have "someimg.jgp" below. Was that just a typo or
should it be "someimg.jpg"?

;-p

Marcus Andersson wrote:
> Hello
> 
> First of all: I am using FOP-0.20.4 under jdk1.4.1. 
> 
> When I insert external-graphics that are in the gif and png formats 
> everything works nice but when I try to include a jpg it just renders a black 
> rectangle. Why? I have looked in the faqs and some other places but the only 
> related is the thing about having to include jimi for pngs. Isn't jpgs 
> supported or have I done something else wrong?
> 
> Example code: 


-- 
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


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