Issue 70398 - wrong size when inserting PNG image
Summary: wrong size when inserting PNG image
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.0.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.x
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2006-10-13 11:53 UTC by streetpc
Modified: 2017-05-20 11:29 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Bug example (8.65 KB, application/vnd.oasis.opendocument.text)
2006-10-13 11:54 UTC, streetpc
no flags Details
Image that does not cause the PNG size issue (3.40 KB, image/png)
2006-11-09 22:12 UTC, streetpc
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description streetpc 2006-10-13 11:53:39 UTC
When I insert PNG images, I always have to scale it to 75% to get the original size.
Comment 1 streetpc 2006-10-13 11:54:33 UTC
Created attachment 39726 [details]
Bug example
Comment 2 michael.ruess 2006-10-13 12:13:15 UTC
Reassigned to HI.
Comment 3 Rainer Bielefeld 2006-10-13 17:36:35 UTC
I checked with "2.0.2  German version WIN XP: [680m5(Build9011)]" and was not
able to reproduce that problem.

How should we see what "original size" of your images is? pls. at least attach
your  original .png file!
Best would be if yo create a .png from an element in an OOo DRAWING document and
attach both: source OOo drawing and created .png

Please also 
- specify your patform and OS
- Check whether the problem png specific or is visible for all image file types?
Comment 4 ace_dent 2006-10-13 17:48:55 UTC
Tested with OOo 2.0.3 WinXP PC.
Confirmed: the png is scaled, although I would not expect it to be... however,
not sure whether this would be considered a bug...

Checked the png file with 'TweakPNG'. The 'pHYs' chunk specifies ~72dpi
resolution (= screen res), so I would expect no scaling (rounding issue?).
Deleting the pHYs chunk, results in OOo loading the image without scaling.

Regards, Andrew.
Comment 5 streetpc 2006-10-14 00:52:12 UTC
OOo 2.0.3 English, WinXP Pro SP2 English
I had that problem with the 2.0.2 as well (on WinXP Home SP2)
PNG made with Paint.NET ( and Photofiltre (
gave the same results, in 72dpi

I reproduced the bug with BMP (24 and 8-bits colors) and JPEG, but not with GIF

Insert as link does not change anything.
Comment 6 h.ilter 2006-10-25 13:53:35 UTC
HI->OD: I've created an png file where the size is 3x3 cm and embeded it to a
writer document.
Every time when I open the picture property and click to Original Size, the
measure will be 3,03x3,03 cm. 
Comment 7 streetpc 2006-11-09 22:10:52 UTC
Don't have the problem with PNG made from MS Visio Pro (PNG, 16 colors).
Attaching example
Comment 8 streetpc 2006-11-09 22:12:19 UTC
Created attachment 40480 [details]
Image that does not cause the PNG size issue
Comment 9 Oliver-Rainer Wittmann 2008-01-11 14:23:36 UTC
Due to lack of resources retarget to OOo 3.x
Comment 10 Marcus 2017-05-20 11:29:36 UTC
Reset assigne to the default "".