Author Topic: Screensaver panning/zoom  (Read 7933 times)

Dale_K

  • Veteran
  • ***
  • Posts: 149
    • View Profile
Re: Screensaver panning/zoom
« Reply #15 on: February 02, 2009, 07:59:04 pm »
Ah! Right. Good point. I thought I'd saved my pics at the wrong resolution. :-\

It would be nice to display full images (depending on screen size) if it is possible with the 'static' setting. Anyone else achieved this?
Barney

My post above is the way to do it for now.  Someone could re-code so that the ZoomAmount1 and 2 are variables that can be changed, unfortunately I don't have the expertise for such an endeavor yet.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Screensaver panning/zoom
« Reply #16 on: February 03, 2009, 01:56:23 am »
I think you'll find this is just the scaling feature rather than anything to do with zooming. Way back when, the photo screen saver couldn't handle pics greater than 1024 pixels (I think, can't remember if this is vertical, horizontal or both!).

When you put pics in there that are larger than this, it would start cycling back and forth between 2 specific pics, for ages, before moving on, or even between a black and white screen. This was fixed up simply in the latest release by adding a scaling function (you can see the Device Data for this in the device) that prescales each image down if it is larger than this, first before displaying it. I think that is what you are seeing. If you remove all images but a handful of small ones, you should see them all appear unscaled and at their correct size (ie with blank borders around them).

Also, tail the PSS log file, you can see the messages being logged in there about pictures being scaled so that you can confirm what is happening.

Dale_K

  • Veteran
  • ***
  • Posts: 149
    • View Profile
Re: Screensaver panning/zoom
« Reply #17 on: February 03, 2009, 09:57:35 pm »
I think you'll find this is just the scaling feature rather than anything to do with zooming. Way back when, the photo screen saver couldn't handle pics greater than 1024 pixels (I think, can't remember if this is vertical, horizontal or both!).

When you put pics in there that are larger than this, it would start cycling back and forth between 2 specific pics, for ages, before moving on, or even between a black and white screen. This was fixed up simply in the latest release by adding a scaling function (you can see the Device Data for this in the device) that prescales each image down if it is larger than this, first before displaying it. I think that is what you are seeing. If you remove all images but a handful of small ones, you should see them all appear unscaled and at their correct size (ie with blank borders around them).

Also, tail the PSS log file, you can see the messages being logged in there about pictures being scaled so that you can confirm what is happening.

No, I saw the section that referred to scaling and you are correct, it seems to have been added to correct images larger that the screen resolution and it works perfectly.  When I put an image in my pictures folder that is too large for the screen it scales it down to fit.  (When the ZoomAmount1 and 2 are changed as detailed above)

The ZoomAmount1 and 2 settings are in fact just that, a random zoom variable for your images.  When they are left default the same image will refresh zoomed in and out at different intervals so it's not scaling it is actually zooming in and out on your image.

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Screensaver panning/zoom
« Reply #18 on: March 17, 2009, 03:09:05 pm »
Cannot understand how to avoid resizing of portrait photos? Landscape ones are showed fine. But portrait images look ugly.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru