Search found 5 matches

by utrucceh
Tue Jan 16, 2024 2:49 pm
Forum: NConvert
Topic: NConvert split images to required width & height using coordinates
Replies: 8
Views: 8087

Re: NConvert split images to required width & height using coordinates

ImageMagick has option with crop like:

convert input.png -crop 512x512 out.jpg"
Files generated as:

out-0.jpg
out-1.jpg
out-2.jpg
out-3.jpg


convert input2.png -crop 512x512 -set filename:tile "%[fx:page.x/512]_%[fx:page.y/512]" +repage "output_%[filename:tile].jpg"

Files generated as ...
by utrucceh
Sat Nov 25, 2023 4:55 pm
Forum: NConvert
Topic: NConvert split images to required width & height using coordinates
Replies: 8
Views: 8087

Re: NConvert split images to required width & height using coordinates

The sizes is just for example. I want use nconvert for quick visualize big image parts like https://dimin.net/software/panojs/#Demos apps. There is already written apps in python in same app github's and exists alternatives like https://hub.docker.com/r/pblaas/imgcnv . Xnview quickly generate ...
by utrucceh
Sat Nov 25, 2023 2:58 pm
Forum: NConvert
Topic: NConvert split images to required width & height using coordinates
Replies: 8
Views: 8087

Re: NConvert split images to required width & height using coordinates

I examine all but I can't find like what I want.
Latest (in website described as ' Version 7.163 ' but when download for linux ) nconvert -help output:

** NCONVERT [b]v7.155[/b] (c) 1991-2023 Pierre-E Gougelet (Sep 8 2023/13:54:44) **
Version for Linux x86 (X11) (All rights reserved)
** This is ...
by utrucceh
Fri Nov 24, 2023 12:09 pm
Forum: NConvert
Topic: NConvert split images to required width & height using coordinates
Replies: 8
Views: 8087

Re: NConvert split images to width & height with coordinates

I examine it, but crop can only generate one image, but what I am searching is it will generate all files because of if we try to geneate files in for loop executeCommand, it will read original file in everytime and will be very slow for big files.
by utrucceh
Fri Nov 24, 2023 11:38 am
Forum: NConvert
Topic: NConvert split images to required width & height using coordinates
Replies: 8
Views: 8087

NConvert split images to required width & height using coordinates

Is there any command which will split image as described in example like XnViewMp Create>SplitImage

For example 3x7 px file

nconvert -split 2 3 -output out_#w_#h.png in.png

it will generate 6 image like

out_000_000.png (2x3)
out_000_001.png (2x3)
out_000_002.png (2x1)
out_001_000.png (1x3)
out ...