I want to auto-crop/auto-tile a large image into e.g. 4x4 smaller images (puzzles) in batch-mode. How to use nconvert?
The problem is that I dont now the origin imagesize.
Thoralf
Autocrop without knowledge of imagesize
Moderators: helmut, XnTriq, xnview
Re: Autocrop without knowledge of imagesize
Sorry it's not possible...TN wrote:I want to auto-crop/auto-tile a large image into e.g. 4x4 smaller images (puzzles) in batch-mode. How to use nconvert?
The problem is that I dont now the origin imagesize.
Thoralf
Pierre.
it IS possible!
Code: Select all
@echo off
.\PROGRAMME\nconvert.exe -quiet -out jpeg -dpi 72 -resize 983 083 -i -o .\MASCHINE\%%_nochganz.jpg .\URSPRUNG\???.psd
.\PROGRAMME\nconvert.exe -quiet -out jpeg -dpi 72 -ratio -crop 0 0 153 083 -i -o .\MASCHINE\READY\logo_p1.jpg .\MASCHINE\*_nochganz.jpg
.\PROGRAMME\nconvert.exe -quiet -out jpeg -dpi 72 -ratio -crop 153 0 595 083 -i -o .\MASCHINE\READY\logo_p2.jpg .\MASCHINE\*_nochganz.jpg
.\PROGRAMME\nconvert.exe -quiet -out jpeg -dpi 72 -ratio -crop 748 0 235 083 -i -o .\MASCHINE\READY\logo_p3.jpg .\MASCHINE\*_nochganz.jpg
del .\MASCHINE\*.jpg