Re: Writer colourspaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What happens when you zoom out the Preview window something like 10x and set Digital Color Meter to "Display in sRGB"?

I tested a simple PDF that I created by putting red text in a Writer document. Export to PDF. Open in Preview. Digital Color Meter says the text is varying shades of nearly red. Zoom way, way in so that a letter a few inches tall and now I see pure sRGB red (i.e. 255, 0, 0).

Patrick


On 2023-11-22 3:35 a.m., Chris Tapp wrote:
On 21 Nov 2023, at 16:29, Thorsten Behrens <thb@xxxxxxxxxxxxxxx> wrote:

Noel Grandin wrote:
But the code is not doing anything clever, there is no active color space
management in LO.
The macOS code is largely in vcl/osx/ and the color space constants we seem
to use are kCGColorSpaceSRGB and kCGColorSpaceGenericGrayGamma2_2

Though presumably then we could make sure that an sRGB colour space
also set for outputting all PDF colours (it is already apparently set
for rendering text & solid colours inside LibreOffice, on OSX)?

I’m also seeing color changes within images that I do not see when they are used in other MacOS apps.

For example, I have a logo that shows as having a color of #5A1C24 (using Digital Color Meter / Display native values) when open in Preview, Word, and others, but it shows as #6E0000 when inserted into LO and in a PDF exported from it (the original is s JPEG, and it shows as #5A1C24 when opened in Preview).

Chris

PDF export is here:
vcl/source/gdi/pdfwriter*.cxx

Cheers,

-- Thorsten




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux