0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 12:16:11 -05:00
Hajime-san 2024-11-26 11:46:42 +09:00
parent 3fcc3ab8e4
commit 24306b3ed6

View file

@ -88,7 +88,6 @@ fn decode_bitmap_data(
CanvasError::InvalidImage(error.to_string())
}
let (image, orientation, icc_profile) = match mime_type {
// Should we support the "image/apng" MIME type here?
MimeType::Png => {
let mut decoder: PngDecoder<ImageDecoderFromReaderType> =
ImageDecoderFromReader::to_decoder(