Apache OpenOffice (AOO) Bugzilla – Issue 82099
Bitmap for shape background remains in .odt even if deleted
Last modified: 2013-02-07 22:04:09 UTC
Tested under Ubuntu with official OOo 2.3 version. - In Writer, create a document, insert a shape (from the Drawing toolbar), add a bitmap as background for this shape (imported a pic, 120 kB). Save. File size is 1.2 MB ! Remove the shape background. Save, still same size. Replace by other bitmaps, ... Check the content of the /Pictures folder of the odt file -> all the pics used as bitmaps are here ! - In Draw, same but the file size is roughly the same as the pic (130 kB). Bitmaps for background should be removed from the /Pictures folder. NB: note that the pic in Writer is changed to .png instead of keeping its original file format (jpg) as done in Draw. But I'll file another issue for that.
I forgot to add : no such issue with tables and frames backgrounds (which are referenced as Graphics BTW, not Bitmaps).
Confirming using 2.4m4 on WinXP - picture remains in "Pictures" folder, .jpg gets converted to .png with increase in size.