The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

One line of code

TODO: Pull subtitle into page object code_start_default_section code_end_default_section

The Result

If you're interested in what it does, here's the before and after

Initial photo of two golfers shaking hands

Two golfers shaking hands after a round after image conversion

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title


One line of code

Programming can be a pain in the ass. Take
this command for example:

-- code/

convert -resize 310x155 -size 310x155 \
  +swap -gravity center 
  -composite input.jpg background.jpg
  output.jpg

-- /code

That took three hours to figure out. 

That command automatically resizes an image to 
fit inside a 310 pixel wide by 155 pixel high area 
with a background image padding out any missing
space.

It's simple, now that I have it. Making it was
a lot of work. The documentation was hard to parse
and specific examples didn't exist. 

-- h2

The Result

If you're interested in what it does, here's the 
before and after


-- image
-- plr_sample_start

Initial photo of two golfers shaking hands


-- image
-- plr_sample_finish.jpg

Two golfers shaking hands after a round 
after image conversion


-- categories
-- Photography
-- ImageMagick
-- Command Line

-- metadata
-- date: 2006-05-15 00:00:00
-- id: 20elkajz
-- type: post
-- site: aws
-- status: published