If an Image2D has non-power-of-two width or height, the image is automatically resampled to the nearest power-of-two dimensions, or at most 256x256 pixels, when used in a Sprite3D or Background. This can increase the MIDlet’s peak memory consumption significantly and incur performance penalties if the image is dynamically updated.
Developers are strongly advised to use power-of-two images only.