spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Cache Folder with huge .PNG files - 2007/03/13 15:53 Hi,

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.
Re:Cache Folder with huge .PNG files - 2007/03/13 19:05 See "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.
Re:Cache Folder with huge .PNG files - 2007/03/14 03:27 Hi 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.
Re: Re:Cache Folder with huge .PNG files - 2007/05/10 20:14 Markus,

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.
Re: Re:Cache Folder with huge .PNG files - 2007/05/11 01:04 Hi John,

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.
Re: Re:Cache Folder with huge .PNG files - 2007/05/11 09:25 Oh - 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.
Re: Re:Cache Folder with huge .PNG files - 2007/05/11 09:36 For information:

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.
Re: Re:Cache Folder with huge .PNG files - 2007/05/11 09:49 Hi,

##################################################
Programm-OrdnerProgramm Ordner
PHP (CLI Version) C:\Programme\Simese\php\php.exe
PHP ini file C:\Programme\Simese\php\php.ini
Swisscenter C:\Programme\Simese\Data\

Gefundene ClientsIP-Addresse Browser-Identifikation
127.0.0.1 Opera/9.20 (Windows NT 5.1; U; de)

DatenbankeinstellungenVerbindungsdetails
Host = localhost
Database = swiss
Username = swisscenter
Password = swisscenter

Datenbanken
swiss
Tabelle Zeilen
actors 0
actors_in_movie 0
art_files 3
categories 10
certificates 15
cities 4376
clients 1
directors 0
directors_of_movie 0
genres 0
genres_of_movie 0
media_locations 4
media_types 4
messages 1
movies 139
mp3_albumart 0
mp3s 325
photo_albums 305
photos 9870
system_prefs 12
user_prefs 3
users 1
viewings 0
weather 0


SystemeinstellungenEinstellung Wert
CACHE_DIR C:/WINDOWS/temp
CACHE_MAXSIZE_MB 8
DATABASE_VERSION 1.15
DEFAULT_LANGUAGE de
IMAGE_RESIZING RESAMPLE
INTERNET_AVAILABLE 1
INTERNET_CHECK_TIME 1178888108
MOVIE_CHECK_ENABLED NO
MOVIE_INFO_SCRIPT www.dvdloc8.com.php
NEW_MESSAGES_CHECK_TIME 1178946838
PLAYLISTS C:/Dokumente und Einstellungen/P3400M/Eigene Dateien/Eigene Playlisten
RATINGS_SCHEME BBFC

BenutzereinstellungenBenutzer Einstellung Wert
Default STYLE KDE
Default WEATHER_HOME UKXX0022
Default WEATHER_UNITS m

##################################################

>> What operating system are you using,

Windows XP, SP2

>> What hardware player do you have?

Pinnacle ShowCenter 200

>> What type of TV are you using (PAL, NTSC, 720p, 1080i, etc)

Panasonic PT-AE300E, PAL, 720p

Greetings, Markus
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer