There are flaws in the CPImage initWithContentsOfFile: method.
Basically, we need to know the size of the image, which is why there
is a version called initWithContentsOfFile:size:
You should use the second one whenever possible. Acknowledging that
sometimes you cannot know the size in advance, we have the first
method still, but we haven't been able to work out all the kinks yet.
That's why you need to set the image scaling mode.
You should file a ticket in lighthouse, though. This is something that
should get improved.
-Ross