By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,905 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,905 IT Pros & Developers. It's quick & easy.

Mixing two Image samples by Lebans

P: n/a
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

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
<mb*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.