You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/03/08 21:00:37 UTC
DO NOT REPLY [Bug 119037] New: Scaled images are malformed on
document recall
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Bug #: 119037
Issue Type: DEFECT
Summary: Scaled images are malformed on document recall
Classification: Application
Product: Word processor
Version: OOO330m20
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: editing
AssignedTo: ooo-issues@incubator.apache.org
ReportedBy: steve@yabbb.org
Using either a png or jpg image embedded or lined into a document. Scale the
image and save the document. Exit OO and then open the image for later
editing. The image area is preserved but the image is malformed or not
visible. If optimal wrapping is used with contour the contour is also lost.
Workaround is to scale the image with an external program and do not resize
inside OO.
Two files attached are the same except
2009 Sangiovese_broken.odt has a scaled image which will not display on
multiple PC's
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Jose D. Garcia <de...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |delioj@hotmail.com
--- Comment #2 from Jose D. Garcia <de...@hotmail.com> ---
Tried to replicate the problem and I followed the steps below:
1) Created new document in OpenOffice Writer
2) Added 567 words to the document
3) Clicked on Insert -> Picture -> From File
4) Attached JPEG (.jpg) file to the document
5) Resized image to about 40 percent larger of the original size.
6) Saved document
7) Closed OpenOffice
8) Opened the document again
I was not able to confirm the bug. For some reason when I open your files, I
can see the bug that you specified in the report when I followed the same
steps, I am not able to replicate the problem.
I am not sure if you are omitting some steps or perhaps the exact configuration
you used (ie. image left or right justified, type of wrap around for the word
around the image, etc).
--
You are receiving this mail because:
You are the assignee for the bug.
DO NOT REPLY [Bug 119037] Scaled images are malformed on document
recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Steve Shaffer <st...@yabbb.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
URL| |http://musing.us/OpenOffice
| |/Sangiovese.zip
CC| |steve@yabbb.org
--- Comment #1 from Steve Shaffer <st...@yabbb.org> 2012-03-08 20:10:17 UTC ---
Examples of broken and working files are available at:
http://musing.us/OpenOffice/Sangiovese.zip (contains both files)
Working file with externally scaled image:
http://musing.us/OpenOffice/Sangiovese.odt
Broken file with internally scaled image:
http://musing.us/OpenOffice/Sangiovese_broken.odt
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
mjcervan@asu.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjcervan@asu.edu
--- Comment #8 from mjcervan@asu.edu ---
I attempted to replicate the bug using the previously outlined procedures:
1) Created new document in OpenOffice Writer
2) Added 249 words to the document
3) Clicked on Insert -> Picture -> From File
4) Attached JPG (.jpg) file to the document
5) Re sized image to about 20 percent larger of the original size.
6) Rotated the image upside down.
7) Changed the word wrap (from right-click menu on image) from "No Wrap" to
"optimal page wrap"
8) Saved document
9) Closed OpenOffice
10) Opened the document again
I saved the document in two different formats using the following options in
the save as drop down “ODF Text Document (.odt)(*.odt)” and “Microsoft Word
97/2000/XP (.doc)(*.doc)” The only issue I ran into was that when the file was
saved in the word format the image was no longer upside down.
Configuration: Windows 7, OpenOffice 3.4.1 build 9593
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Steve Shaffer <st...@yabbb.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest|--- |AOO 3.4.1
Confirmation on| |
Version|OOO330m20 |AOO 3.4.1
OS|Windows XP |Windows 7
--- Comment #11 from Steve Shaffer <st...@yabbb.org> ---
The problem still exists in 3.4.1 try the original examples.
I did not clearly specify the image was reduced in size from the original to
trigger this bug.
The work around for this problem is to size the image with an external tool
(such as GIMP) to the size needed in the document.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
brtucker@exchange.asu.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |brtucker@exchange.asu.edu
--- Comment #9 from brtucker@exchange.asu.edu ---
I attempted to replicate the bug using the these procedures:
1) Created new document in OpenOffice Writer
2) Added 3000 words to the document
3) Clicked on Insert -> Picture -> From File
4) Attached PNG (.png) file to the document
5) Re sized image to about 30 percent larger of the original size.
6) Saved document
7) Closed OpenOffice
8) Opened the document again
I saved the document in two formats using the (.odt) and (.doc) functionality.
The issue did present itself when it was reopened and the image was scaled back
to its original size.
Configuration: Mac OS X 10.8.2, OpenOffice 3.4.1 build 9593
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Luis Kantun <lu...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luis.kantun.02@gmail.com
--- Comment #10 from Luis Kantun <lu...@gmail.com> ---
Hello, Steve Shaffer looks have made the example you propose. I recommend e
OO 3.4 I had no problems in terms of image quality and in that I stick out
dañandas images.
if enrealidad think was a problem was solved for OO 3.4.1 I hope I helped
found.
if not please ask him to describe a little more if the problem
regards
(In reply to comment #0)
> Usando una imagen png o jpg incrustado o forrado en un documento. Escalar la
> imagen y guardar el documento. Salir OO y luego abra la imagen para su
> posterior edición. El área de la imagen se conserva, pero la imagen es
> incorrecto o no visible. Si desea un embalaje óptimo es usado con el
> contorno del contorno también se pierde.
>
> La solución consiste en escalar la imagen con un programa externo y no
> cambiar el tamaño interior OO.
>
> Dos archivos adjuntos son iguales, excepto
> 2009 Sangiovese_broken.odt tiene una imagen escalada que no se mostrará en
> múltiples PCs
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Cem Kaner <ka...@kaner.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kaner@kaner.com
--- Comment #4 from Cem Kaner <ka...@kaner.com> ---
Version 3.4.0 version 340m1 (Build 9590)
Windows 7 64-bit
Jose and I followed up on this with the following results.
(1) I opened the original two files and saw the corrupted image (well, saw a
fragment of it) in the "broken" document and saw the full image in the other
document.
(2) I saved the broken document under a new name (foo.odt) to be able to edit
it. I then played with the "Picture" options. (Right-click on the image to
bring up the picture dialog). As soon as I changed the wrapping (from optimal
to none), the full picture reappeared. I could return to optimal wrapping and
the picture was still visible. I saved and reopened and the picture was
available.
(3) I tried resizing the picture from the Type pane and from the Crop pane. In
both cases, the picture changed size (either proportionally or changed shape
too). When I saved and reopened, the picture looked OK.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
--- Comment #5 from Steve Shaffer <st...@yabbb.org> ---
Jose and Cem,
I've been tinkering with the test.odt and can not get it to fail but a couple
of things to consider.
The file I sent works without using contour. (the test image works fine with
contour turned on).
The source image was a .png file (I'll upload that if you think it would help)
Could there be a race condition between determining the contour mask and
loading the image?
Regards
Steve
P.S. Sorry for the slow response but the emails ended in my spam folder
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
ajkrause@asu.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ajkrause@asu.edu
--- Comment #7 from ajkrause@asu.edu ---
I also attempted to replicate the bug and failed, testing with a PNG instead of
a JPG image as Jose did:
1) Created new document in OpenOffice Writer
2) Added 483 words to the document
3) Clicked on Insert -> Picture -> From File
4) Attached PNG (.png) file to the document
5) Resized image to about 40 percent larger of the original size.
6) Changed the overall shape from a rectangle to a square
7) Changed the word wrap (from right-click menu on image) from "No Wrap" to
"optimal page wrap"
8) Saved document
9) Closed OpenOffice
10) Opened the document again
I attempted this with both .odt and .doc files. In both cases, the image
appeared the same before and after the saving and closing operations.
Configuration: Windows 8, OpenOffice 3.4.1 build 9593
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
Steve Shaffer <st...@yabbb.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #12 from Steve Shaffer <st...@yabbb.org> ---
Just re-tried examples in 3.4.1 and it now works. Previous attempt to look at
the file was using a read-only downloaded copy.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
--- Comment #6 from Cem Kaner <ka...@kaner.com> ---
Steve:
I'm not familiar with the source code and don't know how to identify race
conditions. We did things slowly and deliberately, so I don't think that timing
plays a role in any of our work.
My involvement on this project is as a teaching professor. Students in my
courses pick unconfirmed bugs in the OOo database and add replication (or
failure) data. I review their work with them. Sometimes I realize that I should
extend their notes as I review them, so you see me get involved in that way. I
also train other instructors to do this in their courses. Beyond that, I have
no real role in the OOo project (except "user").
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119037] Scaled images are malformed on document recall
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119037
--- Comment #3 from Jose D. Garcia <de...@hotmail.com> ---
You can download the example I created in the link below:
https://hotfile.com/dl/159741681/5f5342d/Test.odt.html
(In reply to comment #2)
> Tried to replicate the problem and I followed the steps below:
>
> 1) Created new document in OpenOffice Writer
>
> 2) Added 567 words to the document
>
> 3) Clicked on Insert -> Picture -> From File
>
> 4) Attached JPEG (.jpg) file to the document
>
> 5) Resized image to about 40 percent larger of the original size.
>
> 6) Saved document
>
> 7) Closed OpenOffice
>
> 8) Opened the document again
>
> I was not able to confirm the bug. For some reason when I open your files, I
> can see the bug that you specified in the report when I followed the same
> steps, I am not able to replicate the problem.
>
> I am not sure if you are omitting some steps or perhaps the exact
> configuration you used (ie. image left or right justified, type of wrap
> around for the word around the image, etc).
--
You are receiving this mail because:
You are the assignee for the bug.