Hi,

I have actually already a working solution for the most common use case
- 90 degree image rotation. The rotation is working on the image itself,
so it does not need a drawing layer rewrite (AOO guy are working on this
so we don't need to duplicate the effort). For jpeg images I use a
lossless rotation which does not degrade the image quality, for PNG and
GIF I just simple recompress the rotated image. Vector images are more
complicated and I have not found a solution yet - maybe at first I will
disable rotation for this types of images.

Additional to this I implemented metadata (Exif) extraction for JPEG -
this way I detect the orientation of the image. I have integrated this
into the import to automatically rotate the image (if the user wishes
so).

I will commit the changes during weekend into master so that others can
try it out.

@Cao Cuong Ngo: Can you please explain what kind of solution you had in
mind?

Regards, Tomaž

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/87220

Title:
  [Upstream] Wishlist: Add rotation of images to writer

Status in LibreOffice Productivity Suite:
  In Progress
Status in The OpenOffice.org Suite:
  Unknown
Status in “libreoffice” package in Ubuntu:
  Won't Fix
Status in “openoffice.org” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org

  Currently when a picture is imported, it is impossible to rotate it.
  This makes the task of importing images/graphs into OpenOffice
  unneccessarily difficult and complex. Since OpenOffice already has a
  gazillion of options about images, it's quite amazing that it cannot
  rotate them.

  WORKAROUND: Use WriterRotationTool
  http://extensions.openoffice.org/en/project/WriterRotationTool .

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/87220/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to