Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Save picture to BMP,JPG,GIF,PNG,(TIF)

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
lvermeersch
Just In
Just In


Joined: 24 Sep 2004
Posts: 7
Location: Belgium

Post Post subject: Save picture to BMP,JPG,GIF,PNG,(TIF) Reply with quote

I want to save a picture in VB6 from a picturebox to JPG,GIF and PNG.
I now use PicFormat32 control to save a BMP to JPG or GIF.
This works fine , only for large pictures it sometimes gives a failing error when trying to save to JPG.
(I contacted the author but no reply so far, also a memory leack could be on that version) So if anyone has a late version of PicFormat32
(I also tried VIC32 but my version had a evaluation time limit, i tried GDI but i don't have all classes or my data is not complete
and the code is vere extensive.)
If i for now could get some code or control te convert a bmp to a PNG this would help me a lot. Also convertion code to other types like TIF,.... is welcome
Many thanks
Tue Sep 28, 04 3:57 am
Back to top
lvermeersch View user's profile Send private message Send e-mail
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Hi lvermeersch,

Your problem is an interesting one. Right now I am busy with some project work. Within few days I will try to give you my opinion on it. And also let you know helpful info that I will learn working on your query.

Hope you be there.

Thanks
Belal
_________________
we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
Tue Sep 28, 04 6:36 am
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Hi lvermeersch,

Check out following address and download modJPEG.bas file, it should be helpful for you.

[http://www.thevbzone.com/s_modules.htm]

I didn't check it as I told you I am little bit busy now. You check it and let me know. There is another .bas file for PNG file too. So check that too.

Thanks
belal
_________________
we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
Wed Sep 29, 04 2:44 am
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
lvermeersch
Just In
Just In


Joined: 24 Sep 2004
Posts: 7
Location: Belgium

Post Post subject: Reply with quote

Thx for the link
Ik know about IJL11.Dll i used it some time ago.
I did abonnden it then, don't know the reason but i thought there was a license on that code, not sure. But i tested it again now and couldn't yet get t to work. I 've gorgotten how to get de cDibsection from my picturebox to call the SaveJGP function. I wil try later.
I am very interested in the PNG code and gonna try this next and let u know.
I also found a JPG convert PicFormat32 control from Edward Grubb. This works great but only on big pictures , i get een error object failed :-(
Wed Sep 29, 04 5:33 am
Back to top
lvermeersch View user's profile Send private message Send e-mail
lvermeersch
Just In
Just In


Joined: 24 Sep 2004
Posts: 7
Location: Belgium

Post Post subject: Reply with quote

About th PNG convert code modPNG.bas on thevbzone.
I downloaded the module and the 2 dll's.
I could'nt get mutch ferther than that i'm afraid :-(
How do i go about settng up some code to save the picture or where can i find a VB6 code example?
Wed Sep 29, 04 6:27 am
Back to top
lvermeersch View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group