answered
2019-01-24 12:52:48 +0300
Okay, not a duplicate, I actually marked my comment as 'related', comment removed anyway.
Yes, there are some subtle changes that have taken place with ambience, but upon dismantling your tardis ambience, I can see a catalogue of errors, which explains to me why your ambience is not working correctly under SFOS 3.0.
For starters; your tardis image is very small compared to the main canvas (2048 x 2048), when really your tardis image should be almost filling the top and bottom of the canvas, meaning it should be centred to the main canvas.
When installed, I found your SPEC file installed in the ambience-tardis folder - it really should not be there, you need to address your SPEC file and remove the line telling it to install your SPEC file - it's not doing any harm being there but should not be there anyway.
Then, on to your ambience-tardis.ambience
file, it has 3 important lines of code missing from it to make it suitable for use in SFOS 3. Try comparing yours against and Jolla pre-installed ambience, such as 'Airy', you should see the difference right away.
To help you and others interested in making ambience, I created an example using photoshop, showing what we are working with and what the ambience algorithm is doing to the image.
Image 1 ~ size: 2048px X 2048px (canvas)
Image 2 ~ size: 1160px X 2048px (approx)
Image 3 ~ size: 540px X 960px (screenshot actual size)
Image 1 is from Jolla's 'ambience-party' ambience (2048px X 2048px)
Image 2 is increased in size to: 1160px X 2048px until the TOP and the BOTTOM of the image touch the perimeter of Image 1 (2048px X 2048px). This is what the ambience algorithm is doing to the image.
Image 3 (540px X 960px) is a screenshot taken with my Jolla1 and it shows you how it initially fits into a 2048px X 2048px canvas.
![image description](/upfiles/15483270113934379.png)
Here's the same image in landscape view. While in portrait mode, I pinched the image until the TOP and BOTTOM of image 2 touch the TOP and BOTTOM of my display, then rotate the device......
![image description](/upfiles/15484312823042135.png)
that's not a duplicate as i'm asking why the image get cropped only on sf3 and not why the image is generally cropped
247 ( 2018-11-04 14:41:24 +0300 )editfor me this is also the case for all the standard ambiences from jolla! its actually the reason why i dont use my favourite ambience (aloe) anymore. hen its zoomed in it looks just bad. i didnt think its a bug. i just thought its a lame attempt to make use of different screen resolution when you dont want to rescale the images. in other words i just thought its jolla being lazy.
misc11 ( 2019-01-25 15:24:34 +0300 )edit@misc11 - Aloe ambience was from the days of SailfishOS 1.0, then we moved on to SailfishOS 2.0 and the versions of ambience changed, this added a few extra lines of detail into the .ambience file. Now we are SailfishOS 3.0 and now another detail is added to the .ambience file.
Also worthy of note; Aloe Ambience has a dimension of 540px Wide X 1600px High, we as now, we are using an image size base of 2048 X 2048, so yeah, no wonder Aloe looks like crap under SFOS 3.0....you would need to recreate the ambience aloe image as a 2048 x 2048 to make it display nicely under SFOS 3.0.
If you were to select a .ambience file from a type 1, 2 and 3 ambience, compare them side by side, you'll see the difference and what extra lines of code are required. I also realise the ambience system is not perfect and most of what I think I know so far, has been gleaned by simply study the different .ambience files as SFOS has evolved.
Spam Hunter ( 2019-01-25 17:40:17 +0300 )edit@Edz ok, so there are technocal reasons.... but as customer who has payed for the ambience by buying TOH and using it still on jolla one i dont see a reason why it should be zoomed in now. the resolutions of my screen hasnt changed. if jolla doesnt want to update their old ambiences for higher resolution phones, fine. but its not reason to make it look ugly on the jolla1...
misc11 ( 2019-01-25 17:44:26 +0300 )editI also paid for several TOH's and still use them on my Jolla1 under SFOS 3.0 but I edited the images in photoshop to make them compatible with SFOS 3.0...or you can wait for Jolla to do or not do something about it. Personally, I have little in the way of expectations because when you expect, there is much room for disappointment.
Spam Hunter ( 2019-01-25 18:09:12 +0300 )edit