Explorar el Código

LibGfx: Add a FIXME to WebPImageDecoderPlugin::icc_data()

Nico Weber hace 2 años
padre
commit
58a5038420
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Userland/Libraries/LibGfx/WebPLoader.cpp

+ 3 - 0
Userland/Libraries/LibGfx/WebPLoader.cpp

@@ -301,6 +301,9 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index)
 ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()
 {
     TRY(decode_webp_chunks(*m_context));
+
+    // FIXME: "If this chunk is not present, sRGB SHOULD be assumed."
+
     return m_context->icc_data;
 }