Issue Details (XML | Word | Printable)

Key: CONF-6544
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Agnes Ro [Atlassian]
Reporter: Adrian Custer
Votes: 2
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Confluence

Images exported into a PDF file are not in a high resolution

Created: 10/Jul/06 03:13 PM   Updated: 16/Aug/07 04:37 AM
Component/s: None
Affects Version/s: 2.1.4
Fix Version/s: 2.6.0

Time Tracking:
Not Specified

Environment:
One of the Geotools web site, e,g,
http://docs.codehaus.org/display/GEOTDOC/Home
Issue Links:
Reference
 

Participants: Adrian Custer and Agnes Ro [Atlassian]
Since last comment: 1 year, 24 weeks, 2 days ago
Resolution Date: 16/Jul/07 08:30 PM
Labels:


 Description  « Hide
The image resolution for a PDF and for a web site are necessarily different but Confluence uses the same image for both.

Right now I've got one resolution for the web but I'd like a much higher resolution image for the PDF.

One solution could be adding a size tag to images on the wiki input, e.g.
Unable to render embedded object: File (image.png) not found.
and then attaching a high res picture with confluence downsampling for display

A second solution coulde be to attach two images to a page and have confluence know how to do the right thing.

A third solution would be to have confluence support svg.

cheers,
adrian



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Agnes Ro [Atlassian] added a comment - 04/Jul/07 02:24 AM
The reason for this is because most images served on the web or on the computer are 96dpi. FOP (the library we use to generate PDF) renders images at 72dpi. Thus the images don't look as good in PDF. To fix this I will be scaling down images by 3/4 for PDF exports unless a percentage is explicitly specified on one of the parameters width or height of the image.

Agnes.


Agnes Ro [Atlassian] added a comment - 16/Jul/07 08:30 PM
Fixed.

Adrian Custer added a comment - 17/Jul/07 01:11 AM
So what was the fix?

PDF is typicaly 200-300dpi rather than 96 or 72. Is FOP really incapable of rendering images at that resolution? If so, I suppose that means that confluence will never produce print worthy documents which is sad.

thanks,
--adrian


Agnes Ro [Atlassian] added a comment - 23/Jul/07 06:06 PM
The fix was to scale down images by 0.75. Ideally it is not the best solution but at least the images will look similar to seen on the web.

Agnes.