Squeezing+rotating messes up the image

My OS is Arch, Shotcut is installed via pacman. Shotcut version is 24.06.

When I’m using Size, Position & Rotate filter, sometimes I want to squeeze the image by choosing Distort in Size mode. And then I also want to rotate the image. The image below shows what I mean by squeezing


But when I rotate it afterwards, it totally messes up my distorted image by what seems to be first applying the rotation and only then distorting the image which turns it into a rhombus as shown below.

Ok, even though this behavior of applying the rotation first seems irrational to me, it might be as well intentional. So I tried first squeezing the image with one filter and adding a separate one to rotate it afterwards. However when I add another filter on top of the first one, for some reason it squeezes the image further. Seems like it tries to fit the whole 1920x1080 screen into a square (since the original file had 1x1 aspect ratio). Images below show how it looks with and without the second filter (second filter is left with default settings, it’s not supposed to change anything)


A workaround for fixing the issue of second filter changing the image is to change the Size mode to Distort in the second filter and manually setting Size to 1920x1080. However after distorting the image like that I’m unable to rotate properly without it being squeezed in the wrong direction.

Hi @A_user

This happens because your image doesn’t have the same ratio as your project.

I suggest you use an image editor (Photoshop, Gimp etc…) and create a transparent file that fits your project size/ratio (for example: 1920x1080). Import your image in the middle of the transparent background, then export as a PNG.

Import that new PNG image in Shotcut and:

  • Add a Size, Position & Rotate filter
  • Change the Size Mode to Distort
  • Squeeze your image
  • Add another Size, Position & Rotate filter BELLOW the first one
  • Rotate

In fact, you don’t really need to use an image editor for this.
You can do it with Shotcut:

  • Drag your original image in the Source panel
  • Resize it, if needed
  • Export as a Frame (File > Export > Frame)
    Make sure you export as a PNG
  • Import this new PNG in your project
  • Apply the 2 Size, Position & Rotate filters.

The thing you are suggesting is a workaround, not a fix. Thanks but I’m posting it in the Bug category since I want it to be fixed. 1. I suggest rotation should be applied after distortion if only one filter is present. 2. I suggest the second Size, Position & Rotate filter should automatically detect the correct resolution of it’s input

Also sometimes I work with video files rather than images. And to do the same thing to a video is a lot harder since I’ll need to open an extra Shotcut window to edit the video, then export it. Also as far as I’m concerned there’s no such thing as alpha channel in video codecs so I’ll have to use green background instead

I’m not convinced this is a bug. If it is, my workaround is the way I know to avoid the problem you described until it is fixed

These export presets will export with transparencies:

HluCGi7Bkn

Thanks for helping. Though why do you think this may not be a bug? The second filter clearly does not serve it’s purpose. As the name of the filter states, it should be able to resize, move and rotate the image. How can it be intended behavior if I can’t even simply rotate the image?

OK. I agree that it is not a normal behavior and that it would be nice if it was corrected.
I’m not sure but I think there is already a discussion about this on the forum. But I can’t find it…