Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a46daaf002f2033d4e7425f4690c8fc759a606a
      
https://github.com/WebKit/WebKit/commit/4a46daaf002f2033d4e7425f4690c8fc759a606a
  Author: Karl Dubost <[email protected]>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/cg/ImageUtilitiesCG.cpp

  Log Message:
  -----------
  PNG converted to HEIC on file upload seemingly not accepted by image/* 
wildcard
https://bugs.webkit.org/show_bug.cgi?id=303803
rdar://166124206

Reviewed by Darin Adler.

When image/*, image/heic is sent in a form with an input

<input type="file" multiple
  accept="image/*, image/heic"
  id="file">

and the file being uploaded is a PNG image. We do not want to convert it
to HEIC. We want to keep it as PNG.

* Source/WebCore/platform/graphics/cg/ImageUtilitiesCG.cpp:
(WebCore::findImagesForTranscoding):

Canonical link: https://commits.webkit.org/305283@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to