andrewrk / andrewrk/rucksack

crop images

Ouverte
#19 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
C
Étoiles
31
Forks
7
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I think it should be possible to crop images without data loss. It could work by adjusting the anchor position to take into account the offset caused by cropping. So if we cropped 10 pixels off the left side of the image, move the anchor position 10 pixels to the left.

Note this would require saving the input anchor position, for 2 reasons:
1. So that we could detect modifications to the asset manifest correctly.
2. So that we could generate the original image from the texture

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.