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
CGColorSpaceCreateCalibratedRGB
orCGColorSpaceCreateWithName
or whatever instead ofCGColorSpaceCreateDeviceRGB
- Add a resolution option