Discussion:
TImage - How do I resize a JPG?
(too old to reply)
Larry Powell
2009-03-20 08:28:19 UTC
Permalink
How I resize a JPEG image to fit in my TImage control?
I specified stretch=true in the TImage properties. This did nothing.

***@pacbell.net
Jambo
2009-04-08 22:32:51 UTC
Permalink
Post by Larry Powell
How I resize a JPEG image to fit in my TImage control?
I specified stretch=true in the TImage properties. This did nothing.
That's funny. It works all right for me. Are you sure the JPG image is
ok? I'm not sure about this bit - I'm no king of image formats - but
some JPG images seem to behave differently to others, in my
experience. Have you tried loading the jpg image into a bmp editor and
re-saving it? It might work - all the jpg images I've tried using the
stretch property seem to work ok.

Hope this helps

James
Jambo
2009-04-08 22:35:42 UTC
Permalink
Post by Jambo
Post by Larry Powell
How I resize a JPEG image to fit in my TImage control?
I specified stretch=true in the TImage properties. This did nothing.
That's funny. It works all right for me. Are you sure the JPG image is
ok? I'm not sure about this bit - I'm no king of image formats - but
some JPG images seem to behave differently to others, in my
experience. Have you tried loading the jpg image into a bmp editor and
re-saving it? It might work - all the jpg images I've tried using the
stretch property seem to work ok.
Hope this helps
James
Er, replying to myself here, but when I say 'bmp editor', I mean
'bitmap (image) editor'

Hoping to allay any confusion,

James

Loading...