Images beschneiden

montii

Mitglied
Hallo,

ich würde gern die Größe von Images beschneiden. Nicht skalieren. Rich tig Links und Rechts in parr Pixel weniger. Kennt da jemand nen Befehl?

by Montii
 
Servus!

Besorg' dir einfach ein Graphics Object von dem Image und dann benutzt due die Methode:

abstract void copyArea(int x, int y, int width, int height, int dx, int dy)
Copies an area of the component by a distance specified by dx and dy.

Gruss Tom
 
Zurück