Windows > Third Party Plug-ins, Programs, and Skins

Photo Albums

<< < (8/8)

nila:
Hey Rhino :)

I'm using ImageMagick - it's open source I believe - or at least freeware then getting php to call the command line version of it with the correct parameters for each file.

It's working great and probably wouldn't be THAT slow for most people - for me though I have like 8000 photo's from over the years though so it's a long process to resize them all.


I really need like a good solid 3-4 days I think to work on this solidly to get it going and working properly and nicely.

It more or less does all the processing to get all the info from the MC db and to create the tables with the fields etc but as of yet - I haven't implemented the GUI to manage and use the created db and browse the images etc.

I've posted the work I've done so far - you can download the pages here:

http://www.hostrus.co.uk/tmp/php.exe
http://www.hostrus.co.uk/tmp/php.exe
it's a self extracting .rar file

Or you can see the code here:

http://www.pastebin.com/13672

This is the file that sorts the MC db and creates the sql tables etc
It works pretty much - but I cant remember if it's using all the parameters passed yet or if it still uses some I had hard coded in - not too sure - need to refine it - but it pretty much works



http://www.pastebin.com/13673

This is the one that I really haven't started on much yet which is going to be the one that creates the GUI to manage and browse the images etc.

Depending on how good your coding is you could by all means do some of this yourself - the first file should more or less work with a little tweaking.

RhinoBanga:
I can tell you now that constantly calling a command line program will kill your machine.   WinNT is not as fast as Unix loading up executable images.

What I could do though is write a program that takes a list of files to convert so it can do it in one call ... it would be zippy quick.

The file format would be:

<Source Filename>
<Dest Filename>
<Dest Width>
<Dest Height>
<Future Options ... blank for now>


For Example:

c:\input.jpg
c:\output.jpg
640
480

c:\input2.jpg
c:\output2.jpg
640
480

...
...



Would this be of any use to you?   Of course you would get the source code as well.

Let me know.

nila:
Cool,

it'd be GREAT to have you working with me Rhino :)

You are a GREAT programmer - my biggest problem to date is that for me - the main language I program in is PHP so I cant just write a dedicated program to deal with it all. - It's all done via webpage which is going to be great for the browsing etc - but is a pain in the processing stage.


That program would be a BIG help - you could have a look at imagemagick if you want - it's perfect for doing the image manipulations - they have a website.


http://www.imagemagick.org/


If you were to make a program - it'd have to be able to cope with being passed a LOT of images and it'd have to be able to be called via the command line

The advantage of imagemagick - is that I can also use it on the server for the website for when users upload their images to resize them at that point.


Imagemagick with the command calls actually did work fine on my system though for 8000+ images - resized them all perfectly.

What would be GREAT - is if you could do a plugin that would allow information to come from MC without having to first extract the db as a .XML and then process it - so we could just constantly query MC etc.

I'm not really sure how I want to do this - I have a LOT of holliday photo's as I'm sure everyone will start having once they've been collecting them for a few years.

MC provides a great way to manage and tag them but the problem is how to then get this information into a mySQL db so it can be queried via a website and the photo's published to a website.

If MC could do it it'd be great as the information could be kept syncronised - otherwise it's going to have to just be a case of getting whatever inforamation is in MC, and making that the starting point - from there the website information and tagging just builds up on that.


What're your ideas on how to do it etc?
It'd be nice to have another view point.

I have a LOT of images that I need to organise properly and get published.

RhinoBanga:
Contact me on msn ... RhinoBanga@hotmail.com.

I have nearly finished the app.

It's multithreaded too :)

nila:
Hmm - u never seem to be on MSN ?

Navigation

[0] Message Index

[*] Previous page

Go to full version