Apache OpenOffice (AOO) Bugzilla – Issue 60335
ww8: cropped image seems to lose width information on export
Last modified: 2017-05-20 11:25:49 UTC
I have two files. One is an ODT file which works, and the other is the export from OOo writer to Word 97 format. On page 11, figure 2 looks normal, and on page 12 figure 3 looks normal in the ODT file, but not in the DOC file. Both images are imported jpg's which have been scaled and cropped. There are also a few other images (figures 4 and 5) which also have problems in the DOC file. Using OOo writer, if I select and format the images with problems in the DOC file, I can see that the formatting information is all messed up. However, if I correct it and save it, the saved file is not fixed. Using Word 2002 SP3, if I open the corrrupted DOC files, I get the error dialogue box: "The dimensions after cropping are too small or too large" Unfortunately, I cannot even select the image to format it correctly in Word, so I'm SOL when it comes to converting this file to WORD. What I can't figure out is what's different about figures 2 and 3 in my files. Figure 1 is an unscaled uncropped image - so I see why it might work. But figures 2 and 3 are nearly identical. I've played with a lot of settings and can't seem to resolve this issue. I'm looking for a workaround or obviously a fix. Right now I can't export this file to those who read DOC files and that's kinda a key feature of OOo Writer. If I work on the file in ODT format, there's no problem.
Since I cannot upload the file due to filesize limits, I've placed a zip file containing the two files on a server I have access to: http://nootka.ocean.washington.edu/oes/fobs-manual.zip
Created attachment 33108 [details] shorter sample file with graphic in question
MRU->FLR: take my shorter sample and export it to WW8 format. reopening this will show a graphic of very low width. Opening it in Word 2003 will give mentioned error message.
I'm not sure if this problem is related to cropping. If I uncrop the image, the problem still exists with the image in question. Also shown in your sample file, is an image which *is* cropped but doesn't have the problem. I think the problem is somehow related to the image - not cropping.
assigned to hbrinkm
*** Issue 98502 has been marked as a duplicate of this issue. ***
Created attachment 63844 [details] example image for reproducing bug
I have stumbled upon a simple way in OpenOffice.org 3.1 to reproduce this problem. 1. Open a new text document. 2. Insert formula.png. (This makes for an image that is about 300dpi, not an outrageous resolution.) 3. Save to doc. 4. Reload doc file. Image width is now 0. It seems like a serious problem to me. Even if the cause is a limitation of the doc file format (which I do not think it is), perhaps OpenOffice.org could check if the image is above the critical width and give a warning or work around it. The problem is not related at all to cropping, and I think only the pixel width (horizontal resolution) of the image matters, so it is possible that issue 83929 and its duplicates are caused by the same problem as well.
Reset assigne to the default "issues@openoffice.apache.org".