PicPack ready to download

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

PicPack ready to download

Post by netmaestro »

Have you ever wished you had a tool that would let you include any image file into your program as hex data, fully compressed? It makes it really easy to post code to the forum without making people download an image to run your code. If so, download PicPack. Here's what it does:

- Takes any image and compresses it if needed
- Creates a super-compact data section with the Hex data values
- Includes all code necessary to catch an image from the data
- Saves it all in one file named "Temp.pbi" which you can paste to your program
- Catches an image called img0 from the data for you, it's ready to use!

Get it here: https://www.purebasic.fr/english/viewto ... 76&start=9

I was at least a couple hours writing this, which means:

a) It probably hasn't got any bugs... :lol:
b) You shouldn't expect it to be as good as ts-soft's PureBin2Data (mine just does pictures)

-Comes with a bulletproof license agreement... :wink:
Last edited by netmaestro on Tue Mar 05, 2019 5:54 pm, edited 5 times in total.
BERESHEIT
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

really cool 8)

just what I always wanted. :D

cheers
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Nice work. :)
I may look like a mule, but I'm not a complete ass.
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: PicPack ready to download

Post by mestnyi »

Получите это здесь: http://www.networkmaestro.com/PicPack.zip
The link does not work, could you update?
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PicPack ready to download

Post by netmaestro »

Hi,

I don't distribute libraries like this utility in machine code any more. The learning opportunity for less-experienced coders is just too valuable to ignore and so you are welcome to this one in source form:

viewtopic.php?f=7&t=26376&start=9

This post contains my original code tweaked by WillamL to run on MacOS too so it's the best version currently.
BERESHEIT
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: PicPack ready to download

Post by mestnyi »

netmaestro wrote:Hi,

I don't distribute libraries like this utility in machine code any more. The learning opportunity for less-experienced coders is just too valuable to ignore and so you are welcome to this one in source form:

viewtopic.php?f=7&t=26376&start=9

This post contains my original code tweaked by WillamL to run on MacOS too so it's the best version currently.
Thanks, I appreciate it. :wink:
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PicPack ready to download

Post by Dude »

netmaestro wrote:Have you ever wished you had a tool that would let you include any image file into your program as hex data, fully compressed?
Nope.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PicPack ready to download

Post by Dude »

(Fangle's style of humor is rubbing off on me). ;)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: PicPack ready to download

Post by Kuron »

Dude wrote:(Fangle's style of humor is rubbing off on me). ;)

Don't they have shots for that?
Best wishes to the PB community. Thank you for the memories. ♥️
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: PicPack ready to download

Post by Dude »

Maybe! :)
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6161
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: PicPack ready to download

Post by blueznl »

Kuron wrote:Don't they have shots for that?
Some lead pellets should do, but if Fangles has started howling at the moon lately you might want to bring some silver.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply