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
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