Search found 4 matches

by mkuhfuss
2019-06-10T06:52:06-07:00
Forum: Users
Topic: Slice image and name by row and column
Replies: 5
Views: 8571

Re: Slice image and name by row and column

Oh thank you!
-sample and -scale are faster, much more faster :-)

Quality is good enough i think too!
by mkuhfuss
2019-06-10T05:56:29-07:00
Forum: Users
Topic: Slice image and name by row and column
Replies: 5
Views: 8571

Re: Slice image and name by row and column

Ok with this it works. But resizing is still very slow.
And it would be nice if i could do this in one command/Batch script!


convert 7296.jpg \
\( +clone -resize 100% -write thumb_1.jpg +delete \) \
\( +clone -resize 75% -write thumb_2.jpg +delete \) \
\( +clone -resize 50% -write thumb_3.jpg ...
by mkuhfuss
2019-06-10T05:42:12-07:00
Forum: Users
Topic: Slice image and name by row and column
Replies: 5
Views: 8571

Re: Slice image and name by row and column

Thansk for your answer…
This works for me:
convert 7296.jpg -crop 1024x1024 -set filename:tile "%[fx:page.y/1024]_%[fx:page.x/1024]" 0_%[filename:tile].jpg

No i need to resize all Images in a loop and than slice these Thumbnails:

Example:

Original.jpg = 7296x5472px

First i need to resize this ...
by mkuhfuss
2019-06-10T02:36:43-07:00
Forum: Users
Topic: Slice image and name by row and column
Replies: 5
Views: 8571

Slice image and name by row and column

Hi,

i need to slice an image. For example:
full.jpg = 7296x5472

1 slice = max. 1024x1024px

At the moment i use this command:
convert -crop 1024x1024 full.jpg %d.jpg

With this i got imagename like:
1.jpg
2.jpg


But i need the name with row and column index. For example:

First row:
0_1.jpg
0 ...