Page 1 of 1
How do I save an image as a JPEG?
Posted: Tue Apr 29, 2003 6:12 am
by TotalNewbie
Hello, Ive checked the F.A.Q. and searched this board but dont know how to save an image as a JPEG file. I think its too do with the UseJPEGImageDecoder command but Im not sure. Can somebody please give me an example? I would prefer not to use a dll as said in other messages here.......
Posted: Tue Apr 29, 2003 9:06 am
by Fred
Code: Select all
UseJPEGImageEncoder()
SaveImage(0, "your.jpg", #PB_ImagePlugin_JPEG)
Posted: Wed Apr 30, 2003 4:58 am
by TotalNewbie
Thank you Fred. I dont need to use UseJPEGImageEncoder each time, do I?
Posted: Wed Apr 30, 2003 8:26 am
by traumatic
TotalNewbie wrote:Thank you Fred. I dont need to use UseJPEGImageEncoder each time, do I?
no, only once in your program for initialization, if that's what you mean