Issue 74345 - Image lost saving rtf with bmp
Summary: Image lost saving rtf with bmp
Status: CLOSED DUPLICATE of issue 60831
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 14:47 UTC by leobartoloni
Modified: 2007-02-08 15:59 UTC (History)
1 user (show)

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


Attachments
RTF file after point 1 (4.73 KB, text/rtf)
2007-02-08 14:53 UTC, leobartoloni
no flags Details
Bitmap image for point 2 (26.38 KB, image/bmp)
2007-02-08 14:53 UTC, leobartoloni
no flags Details
Rtf file after point 3 (61.72 KB, text/rtf)
2007-02-08 14:54 UTC, leobartoloni
no flags Details
RTF file after point 5 (7.23 KB, text/rtf)
2007-02-08 14:54 UTC, leobartoloni
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description leobartoloni 2007-02-08 14:47:54 UTC
We have many problems with users using OOo 2.1 (and 2.0) editing RTF documents 
containing bmp images.
These images are lost after being modified.

The iter is this.
1) Creation of a new document without images, saving it as RTF.
2) Reopen document, add image from file (embedded) choosing a BMP image.
3) Save.
4) Reopen document, modify text.
5) Save.
6) Reopen document and the image is lost.

The image is visibile opening RTF with Word 2003.

Viewing RTF files, it seems that after point (3) the rtf file contains the 
image 2 times (one as pngblip and one as wmetafile8... i think for backward 
compatibility)
But after point (5) the rtf file contains image as wmetafile8 (rtf tag) but 
with the content of previous pngblip.

I'll attach the doc. at point (1), the bmp for point (2) and the doc. after 
point (3) and (5).
Comment 1 leobartoloni 2007-02-08 14:53:20 UTC
Created attachment 42859 [details]
RTF file after point 1
Comment 2 leobartoloni 2007-02-08 14:53:50 UTC
Created attachment 42860 [details]
Bitmap image for point 2
Comment 3 leobartoloni 2007-02-08 14:54:18 UTC
Created attachment 42861 [details]
Rtf file after point 3
Comment 4 leobartoloni 2007-02-08 14:54:45 UTC
Created attachment 42862 [details]
RTF file after point 5
Comment 5 michael.ruess 2007-02-08 15:55:27 UTC
Known problem, see issue.

*** This issue has been marked as a duplicate of 60831 ***
Comment 6 michael.ruess 2007-02-08 15:59:32 UTC
Closing duplicate.