Hello,
We are getting error from .net core webapi "Cannot create decoder for 1.jpg file" when we run API code in docker linux , Same code is working fine when we run api as normal HTTP
can you check the issue
Thanks
Jwalit Katira
Cannot create decoder for 1.jpg file in linux docker
Moderator: Alex
-
- Posts: 31
- Joined: Mon Sep 18, 2023 1:41 pm
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Cannot create decoder for 1.jpg file in linux docker
Hello Jwalit,
JPEG decoder is internal decoder and it is stored in Vintasoft.Imaging.dll, i.e. JPEG decoder is always available.
Please check that "1.jpg" file is really JPEG file.
If you are loading file from stream, please check that stream position is 0.
Best regards, Alexander
JPEG decoder is internal decoder and it is stored in Vintasoft.Imaging.dll, i.e. JPEG decoder is always available.
Please check that "1.jpg" file is really JPEG file.
If you are loading file from stream, please check that stream position is 0.
Best regards, Alexander