Cannot create decoder for 1.jpg file in linux docker

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
jwalit.katira
Posts: 31
Joined: Mon Sep 18, 2023 1:41 pm

Cannot create decoder for 1.jpg file in linux docker

Post by jwalit.katira »

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
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: Cannot create decoder for 1.jpg file in linux docker

Post by Alex »

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
Post Reply