To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=25752
------- Additional comments from john...@openoffice.org Fri Jan 22 21:35:59 +0000 2010 ------- See post subject: Image in imported MSWord doc does not display - contrast dated Fri 22 Jan 22 2010 which says the following: This post reports two things a) what appears to be a fault with handling images in imported MSWord .doc files b) a bug in OO Writer which allows Contrast for an image to be set to a negative value I opened an MS Word .doc file with Writer 3.1.1 Build 9420. The doc file has text and two graphics images. One image shows OK, the other image either does not display or displays very, very faintly. Both images display OK in MS Word and in MS Word Viewer. When I open the binary doc file, close to the end it says "Microsoft Word Document MSWordDoc Word.Document.8". OO Navigator shows there are two images in the document. When I highlight them, the "does-not-show" image only shows the "box-with-green-handles" and inside is blank. The image is stored somewhere because when I R-click the image and choose Image Map, I can see the image OK. When I go to the Pictures Toolbar and click on Colour for the two images I get Item.....Visible image.....Image not showing Red............0%.................0% Green.........0%..................0% Blue...........0%..................0% Brightness....0%.................60% Contrast......0%.................-70% .... yes that is correct ... minus 70% Gamma......1.00................1.00 If I then set Brightness to 0% and Contrast to 0% the image appears OK but in greyscale. If I go to Pictures Toolbar and select Default, the image then appears OK in colour. (Note the greyscale could be because the image is a colour image but was converted to a greyscale in MSWord before sending it to me)> It is not a problem of anchor, wrap, bring forward etc - I (think I) have checked all the possible options and of course, the other image displays OK. Several questions arise 1 Is this a fault in reading in and converting the doc file where the contrast and brightness values are set wrongly? I use OO for a monthly village magazine and this is the first of a hundred or more .doc files which has shown this problem. Or is it a fault with converting a newer release of MSWord - it looks like it is v8? I unzipped the odt file and content.xml has the following where "fr2" has incorrect values for Contrast and Luminance and does not display, but "fr3" displays OK: <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Graphics"> <style:graphic-properties fo:margin-left="0.319cm" fo:margin-right="0.319cm" style:run-through="background" style:wrap="run-through" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="from-top" style:vertical-rel="paragraph" style:horizontal-pos="from-left" style:horizontal-rel="paragraph" fo:padding="0.026cm" fo:border="none" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 5.659cm)" draw:luminance="60%" draw:contrast="-70%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="greyscale"/> </style:style> − <style:style style:name="fr3" style:family="graphic" style:parent-style-name="Graphics"> <style:graphic-properties fo:margin-left="0.319cm" fo:margin-right="0.319cm" style:run-through="background" style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="true" style:wrap-contour-mode="outside" style:vertical-pos="from-top" style:vertical-rel="paragraph" style:horizontal-pos="from-left" style:horizontal-rel="paragraph" fo:padding="0.026cm" fo:border="none" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="greyscale"/> 2 I created a new OpenOffice .odt file with two images. I then set Brightness to 60% and Contrast to -70% for one image and that image disappeared as above, suggesting that the Contrast and Brightness values are causing the problem. 3 There appears to be a bug in OO Writer which allows a user to set a Contrast value to a negative number which then causes the image to disappear. I guess that a user should not use a negative value for Contrast but a range check (value must be between 0 and 100) would prevent this and protect the user. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org