Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jBuMC1fofYDjkcXeSB6S0rvT+nnOGiD4ciJawRv9ZMA=; b=sbdB6vZxT8n8EnjZCQ6H6ggUiSbp9s/WHHJb+UrledZaFt4sDzxcaQQTMIPDxJB3hU wNeaHamB4p92KGNZlbpUwrBIXNUF4e9Obc0MsTohWX1MdiTmxFYM5ubZ3VmHdlAAwDra 8lt2Dk+lHpPI+ws5f0SB7Qya4tjy8O5HOjoTEVge00aZKY5QhWneVxYOIc7SR8jw8kbi lUs/xB0WEPbSbnKVAvePA0O6LeTuaEXQasknxlJgrlmUeudPOQgwtomEznEXIsjSDbD/ uN8EAPABGlhv0BNvq/hk+F4BuFijr/tW8HgXXv6rTfThTO8XJ10MQqf1sJJNFmHHWlUn IECA== References: <8c101e3b-2f80-666c-db86-05b7dd170a7c@gmail.com> <29E8A83D-5BBB-49AA-83A6-4B3EB765828A@msweet.org> <9db67beb-7ca2-249c-88e4-ead29d19ce63@gmail.com> <54eda145-936b-a920-b645-66a104b23ad4@gmail.com> <46c7d30c-b28d-1585-e4b6-49aa22b9efc2@gmail.com> <2427DA0B-9BB7-462B-A29E-0A3366E504A3@msweet.org> <4FDD96B5-A0D7-4CF7-A0E4-4D116FE73607@msweet.org> <320a8f00-338a-8ec8-8019-22f6ecd1d4ec@gmail.com> <15F0BA1D-9205-4659-A1D7-EB41F9F6F110@msweet.org> <63629EAE-235A-4FB9-8721-884E9E163036@msweet.org> <8592364a-15e6-41c3-ab0e-757b3aedfed7@gmail.com> <41E99F46-2F6C-4368-A03F-D575EB838E8E@msweet.org> From: Till Kamppeter Message-ID: <056c7830-1a00-2111-9e9a-8f125a397de8@gmail.com> Date: Mon, 31 May 2021 17:03:17 +0200 MIME-Version: 1.0 In-Reply-To: <41E99F46-2F6C-4368-A03F-D575EB838E8E@msweet.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Printing-architecture] Make use of extended color spaces on IPP printers List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Sweet Cc: "printing-architecture@lists.linux-foundation.org" , Jay Berkenbilt , Vikrant Malik On 31/05/2021 15:24, Michael Sweet wrote: > Till, > >> On May 31, 2021, at 7:26 AM, Till Kamppeter wrote: >> ... >> PDF output when printing with darktable dos nowhere contain /calRGB, but it contains DeviceRGB at the beginning of a stream object: > > So it isn't embedding the profile used for the image. Does the file identify Cairo as the producer? > This is not Cairo, Cairo does not appear as producer, but darktable itself. If I print from gedit, I get Cairo-produced PDF which does not contain /CalRGB. Each page contains something like: ---------- 34 0 obj << /Type /Page % 4 /Parent 1 0 R /MediaBox [ 0 0 612 792 ] /Contents 36 0 R /Group << /Type /Group /S /Transparency /I true /CS /DeviceRGB >> /Resources 35 0 R >> endobj ---------- >> ... >> This is a PDF generated on a Mac, containing CalRGB but not matching any of the examples you have mentioned: >> ... >> /Producer (Acrobat PDFWriter 3.0 for Power Macintosh) >> ... >> /DefaultGray 15 0 R >> /DefaultRGB 16 0 R >>>> >> endobj >> 15 0 obj >> [/CalGray >> << >> /WhitePoint [0.9505 1 1.089 ] >> /Gamma 1.8 >>>> >> ] >> endobj >> 16 0 obj >> [/CalRGB >> << >> /WhitePoint [0.9505 1 1.089 ] >> /Gamma [1.8 1.8 1.8 ] >> /Matrix [0.4497 0.2446 0.0252 0.3163 0.672 0.1412 0.1845 0.0833 0.9227 ] >>>> >> ] > > So this is a very old version of Acrobat, and the embedded (default/device) color spaces are for Apple's old monitors. > >> Similar with a PDF generated on Windows: > > Not sure at all what the default colorspace is here - the gamma is inverted in this file and I don't recognize the transform matrix. > >> ... >> And this is generated by Ghostscript: > > This looks like Apple's Generic RGB color space - similar to sRGB but with a 1.8 gamma. > >> ... >> So does this mean that these 4 PDFs are neither sRGB nor AdobeRGB? For me it looks like that your method is rarely applicable. > > These files are neither sRGB nor AdobeRGB. And I'd say your sample size is far too small to make any kind of conclusions (but I suspect anything coming from Cairo on Linux will not be tagged correctly...) Do you know which Linux applications generate correct PDF files? Till