https://bugs.documentfoundation.org/show_bug.cgi?id=56468

--- Comment #8 from [email protected] ---
Hi All, 

Compressing images is a great thing but this feature request was not about
this. I wanted to set how the image should be rescaled when displaying. I tried
it in LO 5.0.3.2. I did the following steps:

- Open a new LibreOffice text document
- Create a 2x2 pixel image in Gimp, a black-white checkboard and copy it to the
clipboard
- Edit -> Paste Special -> Bitmap
- Right click on the image -> Compress Image
- Compression Options: Lossless compression, Compression=9, untick "Reduce
Image Resolution" unchecked
- Resize the image by the green control points
- ??? The result is a blurred image
- Right click the image again -> Compress Image
- ??? Instead of Lossless, still JPG is selected
- I adjust Lossless and 9 again
- Width=2, Height=2, Interpolation=None, OK
- ??? the image is still blurred

The only way how I can scale the image with keeping unblurred pixels is to set
the dimensions manually, for example 200 instead of 2. This is not good because
of the following reasons:
1. The saved odt document will store the enlarged (200x200) picture instead of
the original (2x2) which is a waste of resources.
2. I have to set the new width to n*original_width and n*original_height where
n is an integer to keep unbiased pixels. Defining inaccurate new width and
height would distort pixels.

The best would be to have a new menu item called "Display Image" right below
the Compression Image in the local menu. It would allow to choose between the
following options:
- Uninterpolated
- Interpolated - Bilinear
- Interpolated - Bicubic
- Interpolated - Lanczos

What so you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to