PiccyDB, small picture database to carry around pictures

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

I finally managed to finish yet another project, took me long enough as I cannot concentrate these days.

It's a little picture database to carry around, nothing fancy.

1. You can add, delete, edit, export and import categories.

2. You can drag and drop pictures between categories to change them.

3. you can add pictures, add an entire folder, Copy, Delete, Edit picture details, Mark as favourite, Import XML dump, Export database to XML, permanently kill a picture, lock the current record, save current picture to disk, save all pictures to disk, View the original picture in its pre stored size.

4. Backup the database, vacumm the database, search for pictures, display by category.

Compatibility PB 5.31x86

Use it or not, up to you. Complete source project. Can't think of anything else to add.

https://www.dropbox.com/s/ozgtuo8vruatrr4/Piccy.7z?dl=0
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Amilcar Matos
User
User
Posts: 43
Joined: Thu Nov 27, 2014 3:10 pm
Location: San Juan, Puerto Rico

Re: PiccyDB, small picture database to carry around pictures

Post by Amilcar Matos »

Nothing to download, friend!
File is empty. Please check it out.
Merry Christmas! :D
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

Amilcar Matos wrote:Nothing to download, friend!
File is empty. Please check it out.
Merry Christmas! :D
Don't know what you are smoking Amilcar, but I'd like some. Just downloaded it from DropBox using my browser (No download accelerators) and it isn't (the Piccy.7z archive) empty.

What are you using to try and download? Which browser?

I can always try to upload it somewhere else if you like. Just fixed a bug and deleted some redundant graphics to make the package smaller too.

Let me know.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PiccyDB, small picture database to carry around pictures

Post by IdeasVacuum »

Hi Fangbeast

...little problem - the first few IncludeBinary paths are not right, images seem to be missing, e.g.
IncludeBinary "Images\Database.ico"
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

IdeasVacuum wrote:Hi Fangbeast

...little problem - the first few IncludeBinary paths are not right, images seem to be missing, e.g.
IncludeBinary "Images\Database.ico"
Yes thanks, I know. Jumbuk let me know earlier.

I took the time to fix that and also modify the "SaveAllPicturesToDisk" routine so that it would create a root "PiccyDb" directory and then dump pictures into directories/subdirectories under that instead of just dumping them all into one big messy directory.

Just tested and works here and re-uploaded to DropBox. Putting all the files from my old web pages up as well.

I have around 38 meg of images stored now but I might also eventually get around to creating a category/subcategory treegadget rather than the terrible excuse of a tree that I have now.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PiccyDB, small picture database to carry around pictures

Post by IdeasVacuum »

...not important but the app icon Whiskey Carafe.ico is missing :)

I like the GUI, nice layout, easy to use, looks professional (as does the source code itself).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

..not important but the app icon Whiskey Carafe.ico is missing :)
Very strange thing about that..I had some simple 16x16 program icons initially for all my programs. Then I changed them to multiformat icons.

In Explorer under windows 10, some of the programs showed the old icons (???) but the compiled program showed the new icon in the title bar.

And the shortcuts I created on the desktop also showed the previous icon (???) and refreshing the desktop, killing the shortcut and recreating it, nothing changed it. Weird.
I like the GUI, nice layout, easy to use, looks professional (as does the source code itself)
Thanks for the kind words but I know it is actually a steaming pile of crap and down to my usual low standards (heheheheh). I couldn't program my way out of a paper bag with a sharp chainsaw compiler!!!

Just fixed a few more l little things I did wrong but desperately need to go to bed now so I'll upload the changes tomorrow. Feeling old today.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: PiccyDB, small picture database to carry around pictures

Post by Kwai chang caine »

IdeasVacuum wrote:...not important but the app icon Whiskey Carafe.ico is missing :)
I like the GUI, nice layout, easy to use, looks professional (as does the source code itself).
Same problem, and same congratulation.
Very nice and pro GUI :shock:
Thanks for sharing this big code 8)
ImageThe happiness is a road...
Not a destination
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

This is my changelog for now. New version uploaded to DropBox, I think I gave the link a few posts ago.

1 I fixed the one bug Jumbuk reported in Piccy
2 Fixed a few other things that I had to do
3 Added a few more right click menus over various objects
4 Added double left click on picture in main screen to view the original size. (Also Alt + V)
5 Bernd (InfraTec) helped me fix up the proportional picture resizer, yay!

The problem with the missing program icon was that I accidentally linked to it outside my development directories and forgot to copy it and link it in the application directory.

I'll fix that after lunch.

Any other things need adding or fixing, please let me know so I have something to do over Christmas:):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

Fixed:

1. Program icon now resided in the local image directory
2. All menu text strings are defined as variables so then only have to be referenced once. Saves on duplicating strings and multiple spelling mistakes as a result.
3, Redefined all the keyboard shortcuts, hope they look almost logical

Changes:

1. Category bar has a right click popup menu
2. Title bar has a right click popup menu
3. All menus have properly formatted strings to explain their functions

When saving pictures:

1. You can save the current picture to disk
2. You can save ALL pictures to disk
3. You can save all SELECTED pictures to disk
4. You can save all pictures in the CURRENT category to disk

Problems:

I added a right click menu to the image on the main screen and it crashes when accessed. Used to work in prior versions of PB. Will be hunting for fixes soon. Disabled it for now.

Any other things need adding or fixing, please let me know so I have something to do over Christmas:):)

Link in first post
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

I added a right click menu to the image on the main screen and it crashes when accessed. Used to work in prior versions of PB. Will be hunting for fixes soon. Disabled it for now.
D'oh!! Never, ever cut and paste between two programs without seeing what you are pasting!! (Sigh) Fixed!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
pwillard
New User
New User
Posts: 8
Joined: Wed Jan 16, 2013 4:49 pm
Location: Atlanta, USA
Contact:

Re: PiccyDB, small picture database to carry around pictures

Post by pwillard »

Sadly, the download link is now a error code 404
- It's not the language, it's the programmers
Image
juror
Enthusiast
Enthusiast
Posts: 228
Joined: Mon Jul 09, 2007 4:47 pm
Location: Courthouse

Re: PiccyDB, small picture database to carry around pictures

Post by juror »

He's a prolific sharer. His dropbox probably overflowed.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PiccyDB, small picture database to carry around pictures

Post by Fangbeast »

I don't think the old piccydb link was dropbox but I could be wrong.

The current link for all my pb links is DropBox and I just updated everything today, so try

https://www.dropbox.com/sh/qjrsw33plpcl ... czDDa?dl=0

and see if that works for you?
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
juror
Enthusiast
Enthusiast
Posts: 228
Joined: Mon Jul 09, 2007 4:47 pm
Location: Courthouse

Re: PiccyDB, small picture database to carry around pictures

Post by juror »

Fangbeast wrote:I don't think the old piccydb link was dropbox but I could be wrong.
My bad. It appeared to me the first post link was a dropbox link. And "all" seems to be available now. Thanks again for the share.
Post Reply