Explicit decode char* to str.
Work around ImageMagick's broken resize behavior.

Always resize based on the size of the canvas, not the size of the
frame.