Mixing two Image samples by Lebans

M

mbberkowitz

I should begin by thanking Mr. Lebans for all the helpful stuff he's
posted on his site.

I've incorporated code from his A2KLoadSaveJpegVer9.mdb into my
database so that I could move jpegs directly from BLOBs in my database
to Image controls and vice-versa -- without having to use temporary
files.

The problem I'm having is that some of my jpegs are fairly high
resolution, and when they display in the Image control they look, well,
like pictures look when your video driver is set for 16 colors. The
control is set to Zoom; if I were to set it to Clip, then the picture
would look normal, except that only a small corner of it would be
displayed.

Looking at another of Lebans' examples, A2KLoadJpegGifVer33GDiPlus, I
notice that I can resize images w/o this odd effect, but in trying to
somehow use pieces of each example I get lost in the code -- not least
because they seem to be using different graphics libraries (though I'm
not sure of that).

If someone could tell me how to get around my Zoom problem with
high-resolution jpegs, that would be great. Alternatively, or in
addition, if someone could explain how to relate the graphics code in
the two Lebans examples to one-another, that could be helpful as well
(I get the impression that the second one uses a newer, and preferred,
graphics library, so I'd like to move over to that if at all possible).

I'm using Access 2003 on Windows XP Pro.

Thanks in advance.

Michael
 
D

Dave Monks

Michael,

I've been having the exact same problem as you are currently having (see
post below).
I'm currently trying to combine the two different pieces of sample code, but
haven't had chance to get anything working yet.
If (when) I do, I'll post back on my own thread what I've managed to
achieve. Could I ask if you have any success you also post back to the ng.

Regards,

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top