answered
2019-06-29 14:43:02 +0200
On the Gemini (or Xperia 10), I now use the following command to get pictures to the right size. It's usable enough for me.
It takes an image (should be a landscape one for the Gemini, long portrait one for the Xperia 10), scales it to 2048 (2520) width (height) preserving aspect, and adds a letterbox around resulting in a square image. This way the Ambience creator doesn't need to crop it.
Needs ImageMagick installed, which can be found on openrepos. Or you can use the same command on some other computer which has it. (Note: Imagemagick has a depencency issue at the moment with SFOS 3.2 and cannot be installed there)
# Gemini resolution
convert -background rgb(0,0,0) -resize 2048x2048 -gravity center -extent 2048x2048 sourcepic.jpg targetpic.jpg
# Xperia 10 resolution
convert -background rgb(0,0,0) -resize 2520x2520 -gravity center -extent 2520x2520 sourcepic.jpg targetpic.jpg
You can play around with the bg colour (rgb(255,0,255) gives magenta f. ex.), and you can increase the extent to 2348x2348 for some variations, depending on the geometry of the source.
After running, go to gallery, select the new image and "create Ambience" as usual. Note that the targetpic needs to be somewhere where Gallery/Tracker can pick it up, I use ~/Pictures/Wallpapers.
Cropping of ambience to work correctly(?) the image needs to be square, i.e 2048px X 2048px is good.
Ambience was never meant to actually work in landscape mode, but portrait only. Originally, ambience wallpaper dimensions were 540 x 1600px (w X h) and the device had no option for landscape. In fact, landscape is still not officially supported by Sailfish, if you want that, you need to install a rotation patch, but this is no good with wallpapers that are 1920 x 1080, but....you can just about get away with 1024px x 1024px image which falls inside the screen res of SonyX, so try cropping the image squarish with the limited tools in Gallery and then apply as ambience...as already suggested below by darkstarsword.
Spam Hunter ( 2017-11-15 12:43:18 +0200 )editIt was for the tablet, and it does work in landscape on the tablet. That's why the image needs to be square.
ossi1967 ( 2017-11-15 13:21:11 +0200 )edityes @ossi1967 you are correct - I forgot about the tablet.
Spam Hunter ( 2017-11-15 13:44:22 +0200 )editMaking the images square did the trick. I used GIMP on my PC since the editing tools in SFOS currently leave a lot to be desired.
JeffHoogland ( 2017-11-15 14:51:04 +0200 )edit