The problem appears when you want to resize a JPEG with crop options.
Problematic code piece is the following;
https://github.com/JimBobSquarePants/ImageSharp/blob/master/src/ImageSharp/Formats/Jpeg/Components/Decoder/InputProcessor.cs#L156
I made a hotfix for myself by changing the code like
while (length > 0 && errorCode == DecoderErrorCode.NoError)
But surely, I didn't test anything else if it breaks something more. Currently working okay in my environment.
It requires deep investigation if it is the correct fix or not...
thanks...
The problem appears when you want to resize a JPEG with crop options.
Problematic code piece is the following;
https://github.com/JimBobSquarePants/ImageSharp/blob/master/src/ImageSharp/Formats/Jpeg/Components/Decoder/InputProcessor.cs#L156
I made a hotfix for myself by changing the code like
while (length > 0 && errorCode == DecoderErrorCode.NoError)But surely, I didn't test anything else if it breaks something more. Currently working okay in my environment.
It requires deep investigation if it is the correct fix or not...
thanks...