hi all, I would like to know if the result of the operation:
Generates a deep copy or a shallow copy? The operator= of Qimages generates shallow copies but i'm not sure in the case of the operation above. Thanxs.
Printable View
hi all, I would like to know if the result of the operation:
Generates a deep copy or a shallow copy? The operator= of Qimages generates shallow copies but i'm not sure in the case of the operation above. Thanxs.
scaledToWidth creates a copy of your image.
Yes I know, the question is if this copy is a deep copy or a shallow copy?Quote:
Originally Posted by Codepoet
It has to be a deep copy because the underlying data was newly created:
That's exactly what I expected