Friday, May 20, 2005

I've had a bunch of new pictures in the queue to get uploaded.  Flickr announced that the per-photo size limit had been raised to 10MB (from 5), so I thought I'd go crazy and save my raw conversions as lossless PNG files rather than JPG.  This made most of them between 5 and 10MB a piece.  Then I find out that the currently available uploaders had the limit hard-coded, so I could not upload them.  So, I built my own uploader.  Unlike most of the loaders, this one runs as a service and watches a directory.  You can just drop files into the directory and it will load them.  I used it last night to upload some and it worked great.  It can use sub-folders to apply general tags to the images. I have a couple of improvements to make, like:

  • A task tray "agent" that will allow me to "suspend" it when I'm playing Halo, as well as do some configuration stuff.
  • Bandwidth throttling - I'd like to specify a cap to make it play nicer with other outbound traffic.
  • Better retries - Right now if a picture fails, it goes immediately back in the queue.  It needs more standard retry intelligence, like trying again at successively longer intervals.
  • Utilizing the user's monthly limits to stop uploading before some percentage of the limit is reached.
  • Priority spools - I've still gots tons of old photos to upload, so I want to be able to use up my limit at the end of the month without managing that process myself.
  • Automatic processing.  I'd like to just drop my RAW files in there and have my standard photoshop processing applied.  I need to think about that some more because I usually like to tweak them before sending.  With the huge per-month limit, maybe I could do that and use them as "proofs".  Then delete the ones I was to tweak manually and resend them.  Oooh, and perhaps automatically deleting the one it replaces
  • I also don't like having the password in the config file.  I'm going to try to fix that as well.  At least encrypt it a bit.

Anyone got any other cool things it ought to do?

posted on Friday, May 20, 2005 8:57:53 AM (Pacific Standard Time, UTC-08:00)  #    Comments [4]
Related posts:
LinqToStdf now on CodePlex
Image Slicer for Deep Zoom in Silverlight 2
Silverlight limitations and Constrained Callvirt in IL
What are the generic Delegates in the framework for?
What is System.__Canon and why is it on my stack?
Adding support for .ashx-based views in ASP.net MVC
Tracked by:
"diet pills dollar" (diet pills dollar) [Trackback]
"rock identification" (rock identification) [Trackback]
"NY Jets" (NY Jets) [Trackback]
"laredo community college distance learning" (laredo community college distance ... [Trackback]
"dhea overactive thyroid" (dhea overactive thyroid) [Trackback]
"dorm twink" (dorm twink) [Trackback]
"x box 360 release date" (x box 360 release date) [Trackback]
"cheap solar blankets" (cheap solar blankets) [Trackback]
"montana resorts" (montana resorts) [Trackback]
"protonix knee brace" (protonix knee brace) [Trackback]
"gallery magazine" (gallery magazine) [Trackback]
"long term effects of diovan hct" (long term effects of diovan hct) [Trackback]
"rustic couch" (rustic couch) [Trackback]
"AMBIEN BLACKOUT SIDE EFFECTS" (AMBIEN BLACKOUT SIDE EFFECTS) [Trackback]
"ionic cleanse foot bath" (ionic cleanse foot bath) [Trackback]
"braless in a tight shirt" (braless in a tight shirt) [Trackback]
"random house publishers" (random house publishers) [Trackback]
"candida albicans die off symptoms" (candida albicans die off symptoms) [Trackback]
"southern ca new homes" (southern ca new homes) [Trackback]
"Best Search Engine" (Best Search Engine) [Trackback]
"Condo Developer" (Condo Developer) [Trackback]
"amy grant mp3" (amy grant mp3) [Trackback]
"slutty latin whores" (slutty latin whores) [Trackback]
"Louisiana Lotronex attorneys" (Louisiana Lotronex attorneys) [Trackback]
"sports illustrated swimsuit edition gallery" (sports illustrated swimsuit editi... [Trackback]
"california phantom planet" (california phantom planet) [Trackback]
"diaper" (diaper) [Trackback]
"scion accessories" (scion accessories) [Trackback]
"american wire gauge" (american wire gauge) [Trackback]
"elephant list xxx" (elephant list xxx) [Trackback]
"Publishers Wanting Unsolicited Manuscripts" (Publishers Wanting Unsolicited Man... [Trackback]
"olap report" (olap report) [Trackback]
"tune belt" (tune belt) [Trackback]
"south puget sound community college" (south puget sound community college) [Trackback]
Friday, May 20, 2005 10:37:17 AM (Pacific Standard Time, UTC-08:00)
It ought to order you a pizza at least once a week!
Friday, May 20, 2005 10:55:24 AM (Pacific Standard Time, UTC-08:00)
Maybe you could specify times which it could/would run (i.e. M-Th 12:00-4:00 am) or times when it absolutely for no reason whatsoever will run (i.e. Friday evenings 8:00 pm-2:00 am) in order to give you the absolute best Halo 2 connection possible.
Friday, May 20, 2005 2:02:33 PM (Pacific Standard Time, UTC-08:00)
Dave: Yeah, that's a must.
Jen: Hmmm, maybe if I upload a picture of pizza, it will order me one.
Monday, May 23, 2005 2:39:37 PM (Pacific Standard Time, UTC-08:00)
You can schedule it on a cron job to have it work at the approriate time.

As for photoshop, I'm not sure what kind of scripting you can do around them, but you can script around the netpbm and openIL (formerly DevIL) image libraries.

Might be worthwhile to have a small database to keep track of the files, the sizes, priority, and what-not. Then you could even write some nifty little front-end to see what's Q'd up.

Sounds like a fun project...
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):