I guess theoretically it would be cleaner to use MagickSizeType and MagickSizeFormat and let ImagickMagick worry about the portability of those. Unlikely that it would break on any platform as it is but gives you that warm and fuzzy feeling inside :)