Crop A 1 Pixel Line Out Of An Image With ImageMagick

This snippet creats a 1 pixel tall image that's taken from 40pixels down from the top on the source image. (It's the full width of the source image)