Hi Friends,
:wave: Happy Chrismas to all of you. :wave:
I Crop a Image by using the function BitBlt. Now I am trying to save the croped image in JPEG format. Is it possible.
Printable View
Hi Friends,
:wave: Happy Chrismas to all of you. :wave:
I Crop a Image by using the function BitBlt. Now I am trying to save the croped image in JPEG format. Is it possible.
Based on your previous threads, I'm assuming this is VB6.. In which case, the answer is basically No.
You can save to a bitmap by using SavePicture, and can then use a separate (more complex) process to convert it to JPeg - there are examples in our CodeBank/UtilityBank forums which do that.
It is actually possible to save directly to Jpeg, but that takes a lot of code.. but you may be lucky, and be able to find a pre-written routine which does it.
Hmmf, do I have to use a dll (intel jpeg library) for that or can I do that without a dll? Any lightweight format (jpg, gif etc) would do for me.
See the last line of my previous post. ;)
Oh damnit man!
It works.
It works!
IT WORKS!!!
Oh Goodness, how grateful I am to you for this little thing, I was waiting for such a thing since ever.