When i try to convert tiff to jpeg I get exception

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

punith8626
Posts: 19
Joined: Thu Feb 02, 2017 11:22 am

When i try to convert tiff to jpeg I get exception

Postby punith8626 » Fri Jul 28, 2017 1:49 pm

Hello,

When i try to convert image from tiff to jpg I get below error message.
Here is the command that i have used.

Code: Select all

nconvert -out jpeg  -o C:\tiff\test.jpg C:\tiff\Release\test.tiff


Code: Select all

my_error_exit...<Not a JPEG file: starts with 0x00 0x7b>
my_error_exit...<Not a JPEG file: starts with 0x00 0x7b>
my_error_exit...<Not a JPEG file: starts with 0x49 0x49>
my_error_exit...<Not a JPEG file: starts with 0x00 0x7b>
my_error_exit...<Not a JPEG file: starts with 0x00 0x7b>

punith8626
Posts: 19
Joined: Thu Feb 02, 2017 11:22 am

Re: When i try to convert tiff to jpeg I get exception

Postby punith8626 » Fri Jul 28, 2017 1:52 pm

But when i try open this with laserfiche it works fine.

cday
XnThusiast
Posts: 1508
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: When i try to convert tiff to jpeg I get exception

Postby cday » Fri Jul 28, 2017 2:03 pm

I don't know, but you could try with this option included in your code:

Code: Select all

-ignore_errors    : Ignore errors

punith8626
Posts: 19
Joined: Thu Feb 02, 2017 11:22 am

Re: When i try to convert tiff to jpeg I get exception

Postby punith8626 » Fri Aug 18, 2017 2:24 pm

Still dint get solution

cday
XnThusiast
Posts: 1508
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: When i try to convert tiff to jpeg I get exception

Postby cday » Fri Aug 18, 2017 2:58 pm

punith8626 wrote:Still didn't get solution

Can you upload the file?


Return to “NConvert”

Who is online

Users browsing this forum: No registered users and 1 guest