Re: [media-types] image/webp rfc review

James Zern <jzern@google.com> Wed, 05 May 2021 01:54 UTC

Return-Path: <jzern@google.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB1A43A1EB4 for <media-types@ietfa.amsl.com>; Tue, 4 May 2021 18:54:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qjlh0knrlUYO for <media-types@ietfa.amsl.com>; Tue, 4 May 2021 18:54:47 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF9A13A1EB3 for <media-types@ietf.org>; Tue, 4 May 2021 18:54:46 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id e12so459118ljn.2 for <media-types@ietf.org>; Tue, 04 May 2021 18:54:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+FKBYTjJcPsbJYJ/7DOuYGUD7jaWT5xVDdcBPfEd+Uk=; b=XWPDMY7bIv9ZPSY3M8wFJi0rf/TLpMEiSn6HiZmNFgcmPVXIbmpDz3OPH0oVCKKt/H /jk0Du8JPi/YXGAOu93OUZvlIKyTH5nUnvyBWAoOuH6BSE7Sibu2ZzJr8X5/oyWOsmmz WZFb42M81i/7KS+MeA7RJLKQwff4Nwvl65TFyu4G2F/LhbcN9wu9cIL88HWVSJvsTNoj Jk2si+eTJSqaguNB+slS1hmEHQdjdVupVOS4T8XkP2+s9c5sWJeQbBL+nZ7Tow88YWjA dTr38dVNtHafz7s/zzmtagkAuPpQdjAG91ITCH2mDLHQUChVc6OxfHS9/DEWXYiY9M6J buxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+FKBYTjJcPsbJYJ/7DOuYGUD7jaWT5xVDdcBPfEd+Uk=; b=G3yVOWv9odm7n4h+oFiNVxZD27hNv51O2Rg79ZeZcz7mLjU1RVT5xkvIin9NhCDl9d I9Rh+0dhM4lZ5HDUCBXmeKzs0ObdsTXrSFBvngEDPPWX4xhpdvFVSyKAx6w5fZfC4/x2 n77tHzUQikDE9eouqhhgprYthM8bwzw6h9uWTc7NkswOcJM1IafGf9/RJ3SE9Eh5kli6 2vYMFco6G0pfTYKfo8k2WaBMfWX2nkH+ZQyQpc1AOlgmu4MTFzGt8kZ+m/U1i9XqvqUi EZpy1ed1FXNiDJZNPIKNKZ0SkTglVksAoFNZgjyAg4JRHFuoF7cm2iKtN2zqKazVAA+P t/Cw==
X-Gm-Message-State: AOAM533eYKXx0n62RlMTRR+rKzk5dEf7LklARypA6AqZLoc3OaW8cX6N dZtF2otaiXMiClMlypVXztRR5W+RDTDdbSYcHn6RUob2q0Liow==
X-Google-Smtp-Source: ABdhPJz9S9E0khO3jP4npgl8xJln2ipVfOJWe+u217E6tcL+CKtzLmuFTUeJvizzTZ5PwnIN2qq3h7REUMDQ/SBvMbQ=
X-Received: by 2002:a2e:390a:: with SMTP id g10mr19967508lja.64.1620179683123; Tue, 04 May 2021 18:54:43 -0700 (PDT)
MIME-Version: 1.0
References: <CABWgkXLTfprJtQE4G1Uk7wGLd18cmSBM3RLiuyd1rbiHbyUJWA@mail.gmail.com> <03CAC457-FD86-4D97-B10A-FE0CA447C5C7@hoplahup.net> <CABWgkXJnMuM6+D5wVB5-9uDBqqwesNyW9jOwyOZ8en-igYpi-Q@mail.gmail.com> <2768E5BB-6BDB-4CBE-9006-C0190101B91D@hoplahup.net>
In-Reply-To: <2768E5BB-6BDB-4CBE-9006-C0190101B91D@hoplahup.net>
From: James Zern <jzern@google.com>
Date: Tue, 04 May 2021 18:54:31 -0700
Message-ID: <CABWgkXLYC8wTKgWUTfs0WvWS+9zq8Rf-avTjD2KkKxJkTcmvag@mail.gmail.com>
To: media-types@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007c76e405c18b7a76"
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/bRW_LGPwnRb0LoVSrQKfJueI9sI>
Subject: Re: [media-types] image/webp rfc review
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2021 01:54:52 -0000

Hi Paul,

On Tue, May 4, 2021 at 1:21 PM Paul Libbrecht <paul=
40hoplahup.net@dmarc.ietf.org> wrote:

> Hello James,
>
> On 4 May 2021, at 2:33, James Zern wrote:
>
> com.google.webp sounds to be an Apple Uniform Type Identifier
> <
> https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/UTIRef/>
> .
> Is that correct?
>
> Yes. I found that when looking for something as a replacement for the
> deprecated Macintosh code as you mention [3]. I notice now that its value
> is 'org.webmproject.webp' not 'com.google.webp', however.
>
> Fantastic.
>
> - Macintosh Uniform Type Identifier: com.google.webp conforms to
> public.image and to public.data.
>
> I think mentioning the direct relationship to public.image may be best
> given you can follow it upwards past public.data. And maybe 'Apple Uniform
> Type Identifier' would be more appropriate now.
>
> Excellent and a very good point of changing Macintosh to Apple.
>

I posted a new revision with this change yesterday.


> - Windows Clipboard Flavour Name: WebP
>
> I didn't see a registered reference for a standard clipboard format, but
> GDI was updated to support the format with the ImageFormatWEBP GUID [4] .
>
> I asked the person I know has been working close to that for Math and he
> indicated that GDI does not seem to contain clipboard
>
>
> https://docs.microsoft.com/en-us/windows/win32/dataxchg/standard-clipboard-formats
> would be the list of standard clipboard types. And webP is not inside there.
>

That is what I found too. It's not clear to me how extensive this is meant
to be since these are externally controlled values and not intrinsic to the
file format. The inclusion of the Macintosh format on its own in 6838 was
odd to me. As an identifier I would think a GUID would be closer on the
Microsoft side to the Apple identifier than anything to do with the
clipboard.


> I also do not find it at this codeproject page
> <https://www.codeproject.com/reference/1091137/windows-clipboard-formats>.
>
> From searching around about GDI and clipboard, it seems that the only way
> to copy with a GDI bitmap is to transfer it as a buffer. I would suspect,
> that it does not preserve the WebP characteristics for which you would need
> to write to a stream of bytes. All examples I found only copy BMP.
>
> Thanks
>
> Paul
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types
>