View Full Version : Another type of zoom can be possible with pictures??
hi guys ! I don't speak english very well, simply because i'm french!
I've found only one post which talk about my "problem" in XBMC, but it was an old post without result ...
So i quote him, who is really english people !:nod:
[I]hi,there is one thing that i do regret a lot in the picture section.
if you zoom into a big picture, for example a 3000x2000 picture, xbmc did not show the detail of the picture but only zoom in the screen (so you only saw big awful pixels)
it’s not tolerable this so good tool must enable the user to zoom and explore a huge picture.
please let me know if there is a technical problem with that…
just imagine the detail of an eye on a huge hdtv display!
please
regards
fred
So my question is verry simple, is it already or will be possible, to zoom in big picture (more like 720x576 pixels) but not like an "numeric" zoom, and do like in windows for exemple : "optical" zoom
jmarshall
2007-06-16, 02:47
It already is possible, you just haven't been waiting long enough.
What happens when you zoom is that XBMC requests the image be loaded again at a higher resolution. This takes time (5 seconds or so, sometimes longer depending on image size).
The maximum resolution it will load is so that total number of pixels < 2048*2048, while preserving aspect ratio.
It already is possible, you just haven't been waiting long enough.
What happens when you zoom is that XBMC requests the image be loaded again at a higher resolution. This takes time (5 seconds or so, sometimes longer depending on image size).
The maximum resolution it will load is so that total number of pixels < 2048*2048, while preserving aspect ratio.
thanks a lot, i know that, but it verry slow!!
it is possible to zoom on a "cached" image whereas to zoom on the distant picture and recalculate it zoome after zoom ?? sorry for my english!
jmarshall
2007-06-16, 10:27
Sure - modify the source code.
Otherwise, no, there's no way to do it. You know how much memory a 3000x2000 pixel image takes up, right?
Sure - modify the source code.
Otherwise, no, there's no way to do it. You know how much memory a 3000x2000 pixel image takes up, right?
what is depending of resolution pixels/pouce ....
That is not an real problem, even if that take 60 of 64 mb ram free, if the zoom is doing quickly!
Can anybody write a little code or explain me to that ?
jmarshall
2007-06-16, 11:10
XBMC generally has around 40MB free (if you're lucky) while viewing pictures.
This is very limiting - particularly when one wants to have the next picture loaded ready to transistion.
Thus the reason we only load the image at the resolution we need.
When you zoom in, it's reloaded.
If you zoom straight in to 10x (eg pressing 9 on the remote I think it is?) then it'll load at the full size.
XBMC generally has around 40MB free (if you're lucky) while viewing pictures.
This is very limiting - particularly when one wants to have the next picture loaded ready to transistion.
Thus the reason we only load the image at the resolution we need.
When you zoom in, it's reloaded.
If you zoom straight in to 10x (eg pressing 9 on the remote I think it is?) then it'll load at the full size.
Thanks, i know ... No idea for MY qestion ?
djdafreund
2007-06-16, 21:55
BTW, Jmarshall is one of the main coders of XBMC. And he already gave the answer.
BTW, Jmarshall is one of the main coders of XBMC. And he already gave the answer.
Ok ok so it's technically impossible !!? I'm not sur
Thanks a lot, you can close this topic
jmarshall
2007-06-17, 01:24
The only suggestion I have is to modify the code so that it always loads the "maximum" sized image when you zoom in - even if you only zoom in to the first level.
This would involve altering GUIWindowSlideShow.cpp.
A patch would be welcome if you get it working nicely.
The only suggestion I have is to modify the code so that it always loads the "maximum" sized image when you zoom in - even if you only zoom in to the first level.
This would involve altering GUIWindowSlideShow.cpp.
A patch would be welcome if you get it working nicely.
Ok i will try, but what file i have to modify, and backup ?
tanks a lot