[Libreoffice-ux-advise] [Bug 87396] Non-destructive image filters

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 20 10:24:36 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87396

--- Comment #8 from Jay Philips <philipz85 at hotmail.com> ---
(In reply to Regina Henschel from comment #7)
> Jan Philips: It is possible to store two images for the same object. That is
> currently done with svg graphics. The file contains an additional png
> graphic, so that other applications, which cannot read svg, can use the png
> version of the graphic.

Yes there is a benefit of storing an image version of an svg or 3d model (the
new ones introduced in impress) so other applications can show a preview if it
when its unable to render the svg or 3d model, but in this case i dont think
there is a benefit to storing an image of an image, but thanks for the info. :D

> But I'm not sure how to keep the information about the filter. The filter
> 'watermark' for example is stored in an attribute draw:color-mode. That
> attribute has a fixed list of names. The color adjustments like 'red' are
> stored in dedicated attributes, 'draw:red' for example.

>From my searching online, it seems that draw:color-mode has the fixed list of
greyscale, mono, standard, and watermark. And it would be nice to extend this
list to support a few more modes available in MSO including sephia, black/white
25% and black/white 75%.

> There exists an attribute draw:filter-name, but I do not know, what the
> purpose of that attribute is. The text in ODF part 1, section 19.170
> draw:filter-name is "The draw:filter-name attribute specifies the
> implementation-dependent filter name that has been used to load an image
> into the document." Perhaps Thorsten knows, whether this is meant to be a
> graphic filter or a file format filter. I find no place in LibreOffice where
> the attribute draw:filter-name is used.

Yes it would be great to find out if there is already an ODF specification that
we can use to implement the image filter with. According to (
http://blogs.msdn.com/b/brian_jones/archive/2008/03/25/can-i-mention-that-it-s-also-in-odf.aspx
) "... the draw:filter-name attribute can represent the filter name of the
image. This attribute contains the internal filter name that the office
application software used to load the graphic." According to (
https://issues.oasis-open.org/browse/OFFICE-3464 ) "The draw:filter-name
attribute specifies the implementation-dependent filter name that has been used
to load an image into the document.".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list