Re: 200K increase for xml - pdf when using images

2006-06-02 Thread Jeremias Maerki
Joerg is right. It's the color profile bug. I don't even have to look at
the barcode image because it doesn't matter if there's a color profile
attached. FOP 0.92beta will add one anyway due to the bug.

Compiling FOP Trunk is very simple:
- Install a Subversion client
- Install Apache Ant
- Check out FOP
- Run ant from the FOP's home directory

All neatly described on the website:
http://xmlgraphics.apache.org/fop/trunk/compiling.html
http://xmlgraphics.apache.org/repo.html

On 02.06.2006 00:39:15 Rick Roen wrote:
 I've attached a sample of a png file for the postnet barcode.
 
 I'm a complete java novice and last time I tried to compile the latest
 version I spent hours and got nothing since I don't know the basics.
 
 Can you check from the attachment to see if it has a color profile?
 
 Rick
 
 -Original Message-
 From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 01, 2006 4:27 PM
 To: fop-users@xmlgraphics.apache.org
 Subject: Re: 200K increase for xml - pdf when using images
 
 Rick Roen wrote:
  When I add two postnet bar codes, each of which are 1K png files, the pdf
  goes to about 225K.
  
  Why does it grow so large?
 
 Wild guess: there was a problem with embedding large color profiles
 into the PDF if the original pictures didn't contain a color profile.
 The problem has been fixed in SVN. Could you grab a recent snapshot
 and check whether the problem persists?


Jeremias Maerki


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



RE: 200K increase for xml - pdf when using images

2006-06-02 Thread Rick Roen
Thanks Jeremias and Joerg,

I downloaded the latest (you're right, it's not all that hard) and the
resulting pdf is now 27K, not 225K!)

Rick

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 02, 2006 12:27 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: 200K increase for xml - pdf when using images

Joerg is right. It's the color profile bug. I don't even have to look at
the barcode image because it doesn't matter if there's a color profile
attached. FOP 0.92beta will add one anyway due to the bug.

Compiling FOP Trunk is very simple:
- Install a Subversion client
- Install Apache Ant
- Check out FOP
- Run ant from the FOP's home directory

All neatly described on the website:
http://xmlgraphics.apache.org/fop/trunk/compiling.html
http://xmlgraphics.apache.org/repo.html




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



Re: 200K increase for xml - pdf when using images

2006-06-01 Thread J.Pietschmann

Rick Roen wrote:

When I add two postnet bar codes, each of which are 1K png files, the pdf
goes to about 225K.

Why does it grow so large?


Wild guess: there was a problem with embedding large color profiles
into the PDF if the original pictures didn't contain a color profile.
The problem has been fixed in SVN. Could you grab a recent snapshot
and check whether the problem persists?

J.Pietschmann

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



RE: 200K increase for xml - pdf when using images

2006-06-01 Thread Rick Roen
I've attached a sample of a png file for the postnet barcode.

I'm a complete java novice and last time I tried to compile the latest
version I spent hours and got nothing since I don't know the basics.

Can you check from the attachment to see if it has a color profile?

Rick

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 01, 2006 4:27 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: 200K increase for xml - pdf when using images

Rick Roen wrote:
 When I add two postnet bar codes, each of which are 1K png files, the pdf
 goes to about 225K.
 
 Why does it grow so large?

Wild guess: there was a problem with embedding large color profiles
into the PDF if the original pictures didn't contain a color profile.
The problem has been fixed in SVN. Could you grab a recent snapshot
and check whether the problem persists?

J.Pietschmann

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



postnet93907.png
Description: PNG image
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]