pdfrasterize is my toy project to play with Core Graphics. Also, it may actually be useful.
- Understand what is a color space and maybe use
CGColorSpaceCreateCalibratedRGBorCGColorSpaceCreateWithNameor whatever instead ofCGColorSpaceCreateDeviceRGB - Add a resolution option