Opened 18 years ago

Closed 15 years ago

#344 closed enhancement (fixed)

DPI is not stored in the output PNG

Reported by: tutey@… Owned by:
Priority: minor: annoyance Milestone: Version 1.2.0
Component: Printing Version: Trunk
Keywords: DPI Cc:
Must Fix for Release: No Platform: Linux
Platform Version: Ubuntu Dapper Awaiting user input: no

Description

Although I specify 300 DPI in map composer, after exporting the map to PNG the declared DPI is not preserved. I have to set it manually eg. in GIMP.

Maciek

Attachments (1)

Screenshot.png (80.5 KB ) - added by lutra 15 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by g_j_m, 18 years ago

Milestone: Version 0.8 ReleaseVersion 0.9 Release
Priority: majorminor
Type: defectenhancement

Qgis uses a Qt library to write png's, and that library doesn't support embedding a DPI value into the png file. I note that gimp can embed such a value, so there may well be a formal or informal way to do it, but it's unlikely that we'll get around to doing that soon. None of the many other image viewers or editors that I viewed such a png with picked up the dpi set by gimp.

I'll move this to an enhancement against 0.9

comment:2 by pcav, 16 years ago

Awaiting user input: unset
Must Fix for Release: No

comment:3 by pcav, 15 years ago

Does this still holds true with Qt 4.5?

comment:4 by lutra, 15 years ago

Seems to me that this has been fixed. See the screenshot. Qgis 1.2 from trunk under Ubuntu 9.04

Please try again and leave feedback.

by lutra, 15 years ago

Attachment: Screenshot.png added

comment:5 by pcav, 15 years ago

Milestone: Version 1.0.3Version 1.2.0
Owner: rblazek removed

comment:6 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

Seems that the problem has been solved, closing, but reopen if necessary.

Note: See TracTickets for help on using tickets.