https://bugs.documentfoundation.org/show_bug.cgi?id=91609

--- Comment #8 from Armin Le Grand <[email protected]> ---
Took a look and found a reason. In ImplWriteDIBBody the contained graphics get
written to the metafile as DIBs. The 1st one is 4210x6180 pixels in 24 bit, so
the written graphic size is 78065760 bytes. Same for the others, so 234197837
bytes are used.
This explains why it is not always reproducable. It is sometimes too much mem
for 32bit versions. It *should* always work on 64bit LO versions. It will
sometimes work on 32bit versions, too, more probable when selecting only one of
the graphics. 32bit version means mainly windows, but also small still used
amounts of 32bit linux versions. AFAIK there is no more 32bit Mac version, so
should not happen there.
I saved some of the original graphics (PNGs) selecting them and using 'save
image...' from the context menu (that saves the orig graphics). Also extracted
from the original bugdoc, the images are the same. This ensures that they did
not get blown up at load time from the office.
As a workaround I would suggest to use bitmap graphic tooling to reduce image
size, in this case 24bit is not needed. I would guess that it is scanned from
some paper, it should be scanned as 1bit image.
Fixing for 32bit versions is hard - I have no direct clue. Reducing mem usage
somehow, suggesting reduction at load time, ...?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to