You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/10/04 12:44:48 UTC
DO NOT REPLY [Bug 40676] New: - png graphics are expanded/uncompressed in pdf causing massive file size increase
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40676>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40676
Summary: png graphics are expanded/uncompressed in pdf causing
massive file size increase
Product: Fop
Version: 0.92
Platform: PC
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: PBRISTOW@hetp.u-net.com
graphics as png files (total files size about 2 Mb) are expanded to some bitmap?
representation in pdf leading to a massive increase in file size (from 0.6 Mb
using version 2 to 10 Mb using version 0.92).
Is there some way of specifying that compressed graphics should be used in the pdf.
(The graphics are actually math equations - fairly complicated with integrals
etc, and some simple graphs of functions like normal distribution. About 30 of
each, so quite a lot of work to change representation ;-) Is there some other
workaround? vector format?)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40676] - png graphics are expanded/uncompressed in pdf causing massive file size increase
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40676>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40676
------- Additional Comments From PBRISTOW@hetp.u-net.com 2006-10-10 09:36 -------
Thanks for helpful comment and promises ;-) But meanwhile: Do you any
recommendations on MathML to SVG conversion. A quick Google turns up some tools
but some seem not to work well yet.
We also have a problem with simple x y graphs to show simple functions as
coloured curves, for example normal distribution 'bell' curve. Do you have
suggestions for doing these (from tables of data as decimal digits).
Thanks
Paul
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40676] - png graphics are expanded/uncompressed in pdf causing massive file size increase
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40676>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40676
------- Additional Comments From jeremias@apache.org 2006-10-11 01:12 -------
We use JEuclid.
See the FO extension in examples/mathml
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40676] - png graphics are expanded/uncompressed in pdf causing massive file size increase
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40676>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40676
jeremias@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|NEW |ASSIGNED
Component|pdf |images
Version|0.92 |1.0dev
------- Additional Comments From jeremias@apache.org 2006-10-04 14:17 -------
PNG images are currently decompressed, normalized to RGBA (32bit) and then
recompressed for PDF. Of course, that's suboptimal.
Yes, it's theoretically possible to embed the compressed PNG data directly in
the PDF. This is something that is on my task list for the next three months as
part of a general redesign of the image adapter package which is also
responsible for the implicit conversion to RGBA of the image.
Work-arounds for you: Yes, please try a vector format, preferably SVG because we
can handle this natively. Your equations will look much nicer.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.