Is it possiple to use saveimage() to encode a png to a memory address instead of saving it to a disk.
I have looked at using the libpng.dll but I'm sad to say it's a little complicated for me to figure it out right now.
Ultimately what I want to do is have my Image convert to a png and send it over a network without having to save the file to a disk first.
I look forward to your replies.
PNG Encode
PNG Encode
Derek Gavey
- PB Newbie -
- PB Newbie -
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Having this as an option for all save commands would be good, kinda like the opposite of catch.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
I was taking a look at the PBOSL Breiflz Client, Server example as it is doing basically what I want to do, but a lot of the comments and debug notes are in German and I can't get a screenshot to come across properly.
Does anyone else have problem with that example or can fix it for me? PB 3.94 is the version I'm using.
Thanks
Does anyone else have problem with that example or can fix it for me? PB 3.94 is the version I'm using.
Thanks
Derek Gavey
- PB Newbie -
- PB Newbie -
Update !!!
I've figured out the problem with the BriefLZ example. Both the client and the server need to be at the same screen resolution. Maybe someone should have mentioned that in the example code.
Anyway this should help someone in the future.
If anyone has had some experience using the libpng.dll I would appreciate some example code.
Thanks to dagcrack for all his off fourm help.
I've figured out the problem with the BriefLZ example. Both the client and the server need to be at the same screen resolution. Maybe someone should have mentioned that in the example code.
Anyway this should help someone in the future.
If anyone has had some experience using the libpng.dll I would appreciate some example code.
Thanks to dagcrack for all his off fourm help.
Derek Gavey
- PB Newbie -
- PB Newbie -