jmeaster30 / SharperImage

An image encoder/decoder/processor
MIT License
1 stars 0 forks source link

SharperImage.Viewer set up the decoders so that we can detect the file type from the magic number #13

Closed jmeaster30 closed 5 months ago

jmeaster30 commented 11 months ago

Currently we need to pass the file name and the file format by hand into the command line argument / the decoder function.

I want to be able to just pass the image file itself and have the decoder detect the format based on the magic number.

jmeaster30 commented 5 months ago

Instead I just do it based on the file extension