Hi,
does anyone knows why when i tried to save a jpg image loaded into an imgedit control using saveas method, it doesn´t work?
I tried saving the image as a .bmp file and it works fine, but if i try to save it as jpg, it just doesn´t work.
I was looking at the imgedit help and i think that i´m doing all riht, but...
here is a bit of the code i used
form1.imgedit1.image= "c:\001.jpg"
form1.imgedit1.display
form1.imgedit1.saveas "c:\temp\001.jpg",6,6,6,1024,true
also,
i saw that some images can´t be loaded into the control (always suppousing that the format is the correct one)and an error is generated, but if i use an picture box with these images i don´t have any problem. Again, someone knows why it could be happend.
any help would be greatly appreciate
Thanks, Leo.
does anyone knows why when i tried to save a jpg image loaded into an imgedit control using saveas method, it doesn´t work?
I tried saving the image as a .bmp file and it works fine, but if i try to save it as jpg, it just doesn´t work.
I was looking at the imgedit help and i think that i´m doing all riht, but...
here is a bit of the code i used
form1.imgedit1.image= "c:\001.jpg"
form1.imgedit1.display
form1.imgedit1.saveas "c:\temp\001.jpg",6,6,6,1024,true
also,
i saw that some images can´t be loaded into the control (always suppousing that the format is the correct one)and an error is generated, but if i use an picture box with these images i don´t have any problem. Again, someone knows why it could be happend.
any help would be greatly appreciate
Thanks, Leo.