Joel Hainley : San Francisco Bay Area Software Consultant

  • rss
  • Home
  • About
  • Reading Lists
    • 2008 Reading List
    • 2007 Reading List
    • 2006 Reading List
    • 2005 Reading List
    • 2004 Reading List
    • 2003 Reading List
    • 2002 Reading List
    • 2001 Reading List
    • 2000 Reading List
    • 1999 Reading List
    • 1998 Reading List
  • Software
    • mcalc - a tournament poker utility
    • Joel’s "Super Fancy"(tm) Maximum Heart Rate [MHR] Worksheet

picprep bug fix and other stuff.

January 15, 2007

I was doing some work for a client this weekend and needed to resize a photo. I dusted off the picprep source, built the app, and did what I needed to do, but i noticed an odd problem in the way it worked. So i earmarked that for further investigation when my work was done. Sure enough, when I got some time to look at it in detail there was a bug in picprep, and it was a kinda major bug.

I know how it made it this long without being discovered, the bug only shows up when you are working against single files, and not doing appending of characters to the output filenames, but i should have caught this a lot sooner. I fixed the bug, and then started looking through the rest of the source and found some interesting things in my notes about this project. I had mentioned that I would port this to linux at some point. However when i looked at the source, it had been ported to linux ( i think i did this one morning when shad needed it, and forgot to package it up for general release ) So the application now runs natively on windows/osx/linux, pretty cool on that deal.

I thought of a couple of features that I could use in this product so perhaps when time allows i’ll add them they include :

  • rotate process : the ability to rotate images would be nice
  • collage process : the ability to point picprep at a bunch of image files and have it turn them into a single large file would be nice. this would include the ability to generate an image map coordinates file back to the original pictures such that you could drop the resulting image and coords onto a webpage and have a interface into the pictures
  • command files : it would be convenient to be able to save a set of operations into a text file such that if you were always wanting to process files in a particular manner you could just drop them into some directory and then say “run these commands on this directory”. The thing about picprep is that its processes are discrete operations such that if you want to rotate, add border and then create a collage that is three seperate commands that must be issued to picprep in series, having the ability to create command files for multi-step operations would obviate the need of ways to chain the operations together internally.
  • border process : i haven’t looked into this but i’ve seen a bunch of images on the web where people add a little white border around their photos, I guess to give it the polaroid instamatic touch. It might be kinda nice to be able to say “add border to these photos”

I’ll probably spend some time on this when I need a little bit of sanity in my life. The myndkryme website has been down for a while not sure why, haven’t talked to the ISP about it yet. So if you want new builds of picprep ask me directly here, and i’ll get them posted somewhere where you can download them.

Categories
picprep, programming
Comments rss
Comments rss
Trackback
Trackback

« Knuth!!! 2006. 2007… »

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Navigation

  • .NET
  • 30-Day-Challenge
  • Amateur Radio
  • bicycle
  • books/reading
  • business
  • c#
  • cackl
  • Exercise
  • flex
  • friends
  • hamtesting.com
  • knuth
  • lectures
  • life
  • observations
  • people watching
  • personal finance
  • philosophy
  • php
  • picprep
  • programming
  • reading
  • santa barbara
  • scheme
  • school
  • seo
  • uISV
  • Uncategorized
  • web services
  • website

Search

Archives

  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • November 2007
  • October 2007
  • September 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • January 2007
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006

Site Pages

  • About
  • Reading Lists
    • 1998 Reading List
    • 1999 Reading List
    • 2000 Reading List
    • 2001 Reading List
    • 2002 Reading List
    • 2003 Reading List
    • 2004 Reading List
    • 2005 Reading List
    • 2006 Reading List
    • 2007 Reading List
    • 2008 Reading List
  • Software
    • Joel’s "Super Fancy"(tm) Maximum Heart Rate [MHR] Worksheet
    • mcalc - a tournament poker utility

friends

  • Ashley McNamara Photography
  • Colin McNamara

my websites

  • HamTesting.com
  • Photos
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox