Obsolete Members for Image

The following members of class Image are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated) int bytesPerPixel() const

Member Function Documentation

int Image::bytesPerPixel() const

This function is deprecated. We strongly advise against using it in new code.

Returns the image bytes per pixel. *

Use bitsPerPixel() instead.

Available under certain Qt licenses.
Find out more.