DO NOT REPLY [Bug 44692] New: HSSFPicture.resize() is correct only if the rows/columns have the default height/width

View: New views
8 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 44692] New: HSSFPicture.resize() is correct only if the rows/columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692

           Summary: HSSFPicture.resize() is correct only if the rows/columns
                    have the default height/width
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@...
        ReportedBy: yegor@...


A followup from Bug 27153 reported by Laurent Poublan:  

If I create a picture on a patriarch and call resize() on it, the resizing is
correct ONLY IF the rows/columns have the default height/width.
If the columns/rows width/height have been changed (before calling resize()),
the resize does not set the image to its original size (proportions are
modified).
I understand that changing cols/rows sizes after can alter images size, but I
think HSSFPicture.resize() should always resize the image correctly.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/ columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692


Stefan Minchev <stefan.minchev@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefan.minchev@...




--- Comment #1 from Stefan Minchev <stefan.minchev@...>  2008-05-17 01:32:54 PST ---
Could someone provide us with work around about this problem?


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/ columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692


Dominic Adatia <dominic.adatia@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominic.adatia@...
                   |                            |.com




--- Comment #2 from Dominic Adatia <dominic.adatia@...>  2008-05-29 09:21:24 PST ---
Anyone managed to work around this yet?


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/ columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692


Yegor Kozlov <yegor@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Yegor Kozlov <yegor@...>  2008-06-08 08:31:53 PST ---
Fixed in r664515. This change will be included in 3.1-final.

Yegor


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/ columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692


Vladimir Ganev <vlado_ganev@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vlado_ganev@...
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #4 from Vladimir Ganev <vlado_ganev@...>  2008-07-22 13:08:09 PST ---
Still does not work correctly. If there are cells containing some text next to
the image, the latter becomes unrecognizable - stretched vertically.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/ columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692





--- Comment #5 from Yegor Kozlov <yegor@...>  2008-07-22 22:46:51 PST ---
(In reply to comment #4)
> Still does not work correctly. If there are cells containing some text next to
> the image, the latter becomes unrecognizable - stretched vertically.
>

Can you provide a sample ppt and java code to reproduce it?

Yegor


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/ columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692





--- Comment #6 from Vladimir Ganev <vlado_ganev@...>  2008-07-23 23:12:29 PST ---
Created an attachment (id=22310)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22310)
Contains a xls, java code and png file

Image is stretched when there is a text next to it.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 44692] HSSFPicture.resize() is correct only if the rows/columns have the default height/width

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=44692


Yegor Kozlov <yegor@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #7 from Yegor Kozlov <yegor@...>  2008-08-05 01:09:37 PST ---
fixed in svn r682621.

Default row height was wrongly interpreted and caused vertical stretching.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price