[Development] What is the correct way to use QTransform to rotate a QImage by the Y axis?

Allan Sandfeld Jensen kde at carewolf.com
Wed Jul 20 10:32:09 CEST 2022


On Mittwoch, 20. Juli 2022 07:48:47 CEST JiDe Zhang wrote:
> I want to rotate the image to 45 degrees by Y axis, what should I do?
> 
Why rotate it around the Y axis? Would that just be a squeezing scale 
transform? 45 degrees would be scaling to cos(45) of the width. Are you sure 
you don't want to rotate around the Z axis?

But yes, seems weird it would run out of memory when transforming to a smaller 
image.

Best regards
Allan




More information about the Development mailing list