VTTAssets / vtta-tokenizer

Tiny yet capable in-game token editor, requires trusted user level for uploads
MIT License
7 stars 8 forks source link

Add Cover vs. Contain image on stage #4

Open VTTAssets opened 4 years ago

VTTAssets commented 4 years ago

Reported by: Ikabodo

Add a "cover" button to the edit interface. This button stretches the image to the shortest height or width, while maintaining aspect ratio. Then center the image top and center. Most character images are centered around the top half since this is where the head is. This way you can always get a nice square avatar if you like.