-
Notifications
You must be signed in to change notification settings - Fork 144
Description
We are attempting to move from ImageResizer to ImageFlow. We noticed a lot of errors after switching, and it seems that ImageFlow does not support bitmaps. We have user submitted content that has a .jpg extension, but it's actually a bitmap. These resize just fine in ImageResizer, but fail in ImageFlow.
ImageflowException: ImageMalformed: NoEnabledDecoderFound: No ENABLED decoder found for file starting in [42, 4D, 36, C4, 6D, 1, 0, 0, 0, 0, 36, 0] at
imageflow_core\src\codecs\mod.rs:155:20
imageflow/imageflow_core/src/codecs/mod.rs
Line 155 in 22a2bf9
| return Err(nerror!(ErrorKind::NoEnabledDecoderFound, "No ENABLED decoder found for file starting in {:X?}", bytes)) |
imageflow_core\src\context.rs:194:103
imageflow/imageflow_core/src/context.rs
Line 194 in 22a2bf9
| let codec_value = CodecInstanceContainer::create(self, io, io_id, direction).map_err(|e| e.at(here!()))?; |
imageflow_core\src\context.rs:235:66
imageflow/imageflow_core/src/context.rs
Line 235 in 22a2bf9
| self.add_io(io, io_id, IoDirection::In).map_err(|e| e.at(here!())) |
imageflow_abi\src\lib.rs:703:62
imageflow/imageflow_abi/src/lib.rs
Line 703 in 22a2bf9
| c.add_input_buffer(io_id,bytes).map_err(|e| e.at(here!()))?; |