I'm little late but I post thought, for in case that you havent found a batch solution...
Here are some example to direct request the result of nconvert and fill some var :
@echo off
::Example 1 - request image width
for /f "tokens=2 delims=: " %%a in ('nconvert -info "img.jpg" ^| findstr /C ...
Search found 6 matches
- Wed Aug 19, 2020 2:33 am
- Forum: NConvert
- Topic: Save image under a different name
- Replies: 9
- Views: 4653
- Mon Aug 17, 2020 1:08 pm
- Forum: NConvert
- Topic: Option to disable filters for -o
- Replies: 1
- Views: 2731
Option to disable filters for -o
It become a mess if the path used inside -o contain #%$, and so the files fall somewhere we dont want, or get renamed.
-no# have save me a little, but I do not found something for the others char used as filters.
We need something that do not touch the output path written in the command.
Thanks for ...
-no# have save me a little, but I do not found something for the others char used as filters.
We need something that do not touch the output path written in the command.
Thanks for ...
- Sat Aug 15, 2020 10:57 pm
- Forum: NConvert
- Topic: Convert JPEG from 72 dpi to 300 dpi
- Replies: 12
- Views: 11279
Re: Convert JPEG from 72 dpi to 300 dpi
DPI is about only used by printer to adapt the size of the printed result.
It is normally a useless data to display any image on computer, so you must resize the image size in pixels to really change his size when displaying it on a computer.
DPI value can be changed without any re-compression, at ...
It is normally a useless data to display any image on computer, so you must resize the image size in pixels to really change his size when displaying it on a computer.
DPI value can be changed without any re-compression, at ...
- Sat Aug 15, 2020 9:26 pm
- Forum: NConvert
- Topic: Multiple bgcolor
- Replies: 9
- Views: 4268
Re: Multiple bgcolor
This post is little old but I permit me to give an important hint.
To avoid this quality loss by an double conversion to jpeg, use an intermediate lossless format like png that will do an exact copy of your original image where you will do all your work losslessly, and then only at the end step ...
To avoid this quality loss by an double conversion to jpeg, use an intermediate lossless format like png that will do an exact copy of your original image where you will do all your work losslessly, and then only at the end step ...
- Sat Aug 15, 2020 5:48 pm
- Forum: NConvert
- Topic: Option to read RGB value of specified pixel
- Replies: 4
- Views: 2547
Re: Pixel color reading
SAMSAM where is the useful information in your post.
Do you think that reading a pixel color have nothing to do inside an console image soft.
Thanks you cday for your true help!
I'm there to completely trow away this "junk" soft of ImageMagick that I already use to do this pixel color reading.
I ...
Do you think that reading a pixel color have nothing to do inside an console image soft.
Thanks you cday for your true help!
I'm there to completely trow away this "junk" soft of ImageMagick that I already use to do this pixel color reading.
I ...
- Sat Aug 15, 2020 3:12 am
- Forum: NConvert
- Topic: Option to read RGB value of specified pixel
- Replies: 4
- Views: 2547
Option to read RGB value of specified pixel
Hello,
Im looking if NConvert can read the RGB pixel color at x y, of an jpg/png file.
Sorry if it is present somewhere, I found nothing about...
Thank you to give me the command
Im looking if NConvert can read the RGB pixel color at x y, of an jpg/png file.
Sorry if it is present somewhere, I found nothing about...
Thank you to give me the command
