I know saving the pictures as .bmp files but how can I save the same pictures as .jpeg , .jpg or .gif without having the same size as .bmp files? who can tell me the code to save pictures in usual .jpg or .gif files?
Printable View
I know saving the pictures as .bmp files but how can I save the same pictures as .jpeg , .jpg or .gif without having the same size as .bmp files? who can tell me the code to save pictures in usual .jpg or .gif files?
Use the SavePicture method, and specify either a .gif or
a .jpg as the filename to save to.
Z.
Zaei, he said WITHOUT the same size.... I dunno, you'd have to have a 3rd party control or know the filetype...
Im pretty sure he meant file size. He doesnt want his
pictures to be huge, so he wants to save them as little
jpgs.
Z.
But when you use savepicture it will ALWAYS output a bmp, no matter what the filename is. EX. pic.bmp would be the same size as pic.jpg when saved under different filenames using savepicture.
Hey,
I have a program that converts any image to what ever file type that you want it to be. And it gives you a bunch of options (ex: image size, colors, special f\x, etc). If you want the program, just e-mail me and I can send it to you and stuff. LAter.
I see, there are some ideas and solutions for my question. And I guess you got my problem with saving the files as .gif or .jpeg. They should be smaler than .bmp and compressed but not too bad in quality, you know. (Just to make clear what I meant). Anyway, if anyone has a code example... and in the mean time, I'll try the ones you wrote here.