I know questions like this get asked a lot, but I haven't been able to find an answer to my specific use-case.
I frequently have to extract rectangular tile images that are laid out in a grid in a single PNG. The image contains a grid of M x N tiles. The upper-left corner of the upper-left tile in ...
Search found 2 matches
- 2020-11-10T21:05:12-07:00
- Forum: Users
- Topic: Extract tiles in a grid from a single PNG?
- Replies: 0
- Views: 639511
- 2011-10-29T19:24:11-07:00
- Forum: Users
- Topic: Single letter labels are not centered properly
- Replies: 1
- Views: 12446
Single letter labels are not centered properly
Hi
This command displays a message centered inside a black rectangle.
convert -size 30x30 -background '#00000080' -fill white -gravity center label:ABC test1.png
http://tabi.org/timur/test1.png
However, if I tell it to write a single character, the alignment is off:
convert -size 30x30 ...
This command displays a message centered inside a black rectangle.
convert -size 30x30 -background '#00000080' -fill white -gravity center label:ABC test1.png
http://tabi.org/timur/test1.png
However, if I tell it to write a single character, the alignment is off:
convert -size 30x30 ...