Cache Folder with huge .PNG files - 2007/03/13 15:53Hi,
I'm just wondering that the 'Update Media' command produces a .PNG file of every photo in my 'C:\WINDOWS\Temp' folder. And these .PNG files are huge, the are bigger in size than the original photos. Is that correct?
For example the original .JPG is 984 KB and the .PNG file is 2932 KB.
What are these .PNG files good for anyway?
And how long will that take for more than 21000 photos?
Greetings, Markus
| | The administrator has disabled public write access.
Stu2j
User
Posts: 2020
Re:Cache Folder with huge .PNG files - 2007/03/13 19:05See "cache settings" in the config
It's where is stores resized images.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP SP3 Simese 2.5.5 Beta SwissCenter latest SVN NAS Server Intel PD 2.66Ghz/2GB Mem/1TB Storage Hauppauge HVR 1600 PVR
| | The administrator has disabled public write access.
SukramDr
User
Posts: 7
Re:Cache Folder with huge .PNG files - 2007/03/14 03:27Hi Stu2j,
thanks for your info.
I read that section in the config. To be honest, I don't understand what resized images are in that context. Why are some photes resized? As I found out only 1523 of all my 21000 photes are in the cache right now. Why only these ones.
Thanks for any hints.
Grettings, Markus
| | The administrator has disabled public write access.
johnk
User
Posts: 4
Re: Re:Cache Folder with huge .PNG files - 2007/05/10 20:14Markus,
For what it's worth, I have the same issue (on 1.16) with the size of the PNG files in the cache - 2MB JPEGS are caching as 6MB PNGs. It appears the system is caching very large thumbnails - mine are 2816x2112!
Did you come across a cure for this problem?
John
| | The administrator has disabled public write access.
I 'solved' that problem by setting the maximum value for cached pictures to 8MB. So the Temp folder won't get filled with tousands of useless files.
Grettings, Markus
| | The administrator has disabled public write access.
admin
Admin
Posts: 1880
Re: Re:Cache Folder with huge .PNG files - 2007/05/11 09:25Oh - I didn't know this was happening
It sounds like swisscenter is calculating the wrong resolution for your device. Please could you take a look at the "Clients discovered" table under "Support Info" on the configuration screen and post the agent strings that have been recorded.
What operating system are you using, What hardware player do you have? What type of TV are you using (PAL, NTSC, 720p, 1080i, etc)
Rob Server : Windows Home Server (HP MediaSmart EX470) Player #1: Pinnacle Showcenter 200 (wired ethernet) Player #2: Popcorn Hour A110 (wired ethernet)
| | The administrator has disabled public write access.
Swisscenter uses an internal coordinates system for describing the layout of the HTML pages sent to the Showcenter browser. This is to allow the interface to look (almost) the same regardless of what resolution TV you are using.
For example, the background image takes up the whole screen (which is 1,000 x 1,000 units in the internal coordidates). On a PAL TV, this means that the image included in the stle definition is resized down to 768 x 576 pixels. The same image on a 720p HDTV will be resized down to 1280 x 720 pixels.
Because PHP isn't very efficient at resizing images, each image that is resized in stored in a cache on disk. If a siize limit is put on the cache (from the config screen) then the least recently used images are deleted as necessary to enforce the cache limit.
It sounds as though the bug described above is due to an incorrect calculation when resizing the images, and for some reason the images are actually being scaled up to a larger resolution than the original. This should not happen Server : Windows Home Server (HP MediaSmart EX470) Player #1: Pinnacle Showcenter 200 (wired ethernet) Player #2: Popcorn Hour A110 (wired ethernet)
| | The administrator has disabled public write access.
SukramDr
User
Posts: 7
Re: Re:Cache Folder with huge .PNG files - 2007/05/11 09:49Hi,