Thank you, it works. Set filename before -extent is correct.
I did not think that the order of arguments is important :/
Search found 3 matches
- 2019-09-01T11:26:59-07:00
- Forum: Users
- Topic: Crop and extend - page offsets are too high - incorrect names of tiles
- Replies: 5
- Views: 11674
- 2019-09-01T10:16:56-07:00
- Forum: Users
- Topic: Crop and extend - page offsets are too high - incorrect names of tiles
- Replies: 5
- Views: 11674
Re: Crop and extend - page offsets are too high - incorrect names of tiles
I have ImageMagick 6.9.10-11 Q16 x86_64 2018-09-08.
Yes, ceil and floor works fine, but the overall tile index is wrong.
Note: I know about the pipe symbol, I have just used it for easier reading.
Yes, ceil and floor works fine, but the overall tile index is wrong.
Note: I know about the pipe symbol, I have just used it for easier reading.
- 2019-09-01T08:16:28-07:00
- Forum: Users
- Topic: Crop and extend - page offsets are too high - incorrect names of tiles
- Replies: 5
- Views: 11674
Crop and extend - page offsets are too high - incorrect names of tiles
I have this command:
convert "lenna256x256.png" -verbose -crop "170x180" \
-background blue \
-extent "170x180" \
-format "jpg" -quality 60 \
-set filename:f "./temp_dir/rgba|%[fx:w]x%[fx:h]|%[fx:page.width]x%[fx:page.height]|%[fx:page.x/170]_%[fx:page.y/180]" \
"%[filename:f].jpg"
And I ...
convert "lenna256x256.png" -verbose -crop "170x180" \
-background blue \
-extent "170x180" \
-format "jpg" -quality 60 \
-set filename:f "./temp_dir/rgba|%[fx:w]x%[fx:h]|%[fx:page.width]x%[fx:page.height]|%[fx:page.x/170]_%[fx:page.y/180]" \
"%[filename:f].jpg"
And I ...