Search found 3 matches

by midnightoil
Wed Jan 05, 2022 1:57 am
Forum: NConvert
Topic: -o creates wrong file extension
Replies: 3
Views: 4308

Re: -o creates wrong file extension

Only problem remaining is that it doesn't handle case very well.

Output extension is always lower case (unless it is illegal)

Bad:
nconvert -resize longest 150 -o thumbs/IMG_0009.JPG IMG_0009.JPG
Conversion of IMG_0009.JPG into thumbs/IMG_0009.jpg OK

nconvert -resize longest 150 -o IMG_0006.JPEG ...
by midnightoil
Wed Jan 05, 2022 12:56 am
Forum: NConvert
Topic: -o creates wrong file extension
Replies: 3
Views: 4308

Re: -o creates wrong file extension

Thanks, that seems to have fixed it!

It is not obvious from the help info. Might be mentioned in the manual but the link is broken.

Code: Select all

$ nconvert -resize longest 150 -o try.jpeg -out jpeg IMG_0132_2.jpeg > /dev/null
Conversion of IMG_0132_2.jpeg into try.jpeg OK
by midnightoil
Tue Jan 04, 2022 2:30 pm
Forum: NConvert
Topic: -o creates wrong file extension
Replies: 3
Views: 4308

-o creates wrong file extension

In resizing a jpeg file, nconvert is ignoring the extension on the original source file and using 'jpg' instead.
For example:

nconvert -resize longest 150 -o try.jpeg IMG_0132_2.jpeg > /dev/null
Conversion of IMG_0132_2.jpeg into try.jpg OK

The created file is "try.jpg" and not "try.jpeg".

I ...