Hallo,
respekt - mit 13 zum Coder. Aber jetzt mal im Ersnt: was ist dein konkretes Problem? Du willst 'n JPEG resizen? dann weise es einem Bitmap zu (also praktisch TBitmap.Assign(TJpegImage)), resize das Bitmap, weise das Bitmap wieder dem JPEG zu und speichere das JPEG wieder.
Wie man Bitmas resizt? Am einfachsten mit 2 Bitmaps:
- Bitmap 1 laden (also ausm JPEG)
- Bitmap 2 auffe neue Größe stellen (TBitmap.Width, TBitmap.Height)
- Bitmap2.Canvas.StretchDraw(Bitmap2.Canvas.ClipRect, Bitmap1)
- Nun dann eben halt mal Jpeg.Assign(Bitmap2)
So oder so ähnlich...
_________________
Life is a bad adventure, but the graphic is really good!