D
Dave Monks
Stored in a field in a SQL database I have the raw JPEG data for numerous
photograhs.
I've used the code found LoadSaveJPG from Stephen Lebans website
(www.lebans.com) that takes the raw JPEG converts it to a DIB and then
displays it in an Access image control.
This works really well until I change the Image control from Clip to Zoom.
When showing different sized JPEGs anything other than 320x240 (which the
image control is sized for) they look absolutely dreadful.
If I just write the JPEG data out to a file and then set the picture
property of the image control to the file they look fine. However, I don't
want to have to write files all over a user's hard disk, plus I want it to
work on a bog standard PC without full Office installed.
I've tried combining the LoadSaveJPG code with the LoadJPGGIF code but made
a right mess of things and could not suss it.
Anyone any idea what I could do? (esp. Stpehen as you seem to be the expert
in this sort of thing.)
Dave Monks
photograhs.
I've used the code found LoadSaveJPG from Stephen Lebans website
(www.lebans.com) that takes the raw JPEG converts it to a DIB and then
displays it in an Access image control.
This works really well until I change the Image control from Clip to Zoom.
When showing different sized JPEGs anything other than 320x240 (which the
image control is sized for) they look absolutely dreadful.
If I just write the JPEG data out to a file and then set the picture
property of the image control to the file they look fine. However, I don't
want to have to write files all over a user's hard disk, plus I want it to
work on a bog standard PC without full Office installed.
I've tried combining the LoadSaveJPG code with the LoadJPGGIF code but made
a right mess of things and could not suss it.
Anyone any idea what I could do? (esp. Stpehen as you seem to be the expert
in this sort of thing.)
Dave Monks