- March 10, 2006
- 4,434
- 1,897
- Moderator
- #1
Note: This tool is only meant for users who want to reduce their 'thumbs' folder storage size. It is *NOT* required.
Moving Pictures and MP-TVSeries store large images in this folder and their accumulated size can add up quick, even causing delays when scrolling fast. At first this batch file was only meant to solve the PNG image format that MovingPictures uses in some versions (some with JPG extension), but it has expanded into more.
In short this script now converts all the images into the JPEG image format and reduces their filesize to be below certain thresholds. It will first try reducing the JPEG quality, by removing information most human eyes can't distinguish. When the first reduction fails, it will try again with a more aggressive reduction, and if that fails it will reduce the image size slightly.
The filesize thresholds are 350kB for Fanart/Backdrops, 150kB for covers and 20kB for cover thumbnails. On my own collection roughly 60% was already below those thresholds, an additional 30% worked after the first reduction (JPEG 85), another 9.5% required JPEG 70 and only a stuborn 0.5% needed the maximum reduction. I personally found no visual difference after all was done, but then again my eyes aren't getting any younger
To use this tool:
Then simply execute "!MediaPortal Fix Thumbs.cmd" and it will do the rest.
Please be patient, the process takes a while. An added delay is caused by the fact that all the images are first duplicated into the Temporary folder, then processed, and finally copied back (ugly but it works and avoids problems). A crude log file is created so you can verify the process afterwards.
Moving Pictures and MP-TVSeries store large images in this folder and their accumulated size can add up quick, even causing delays when scrolling fast. At first this batch file was only meant to solve the PNG image format that MovingPictures uses in some versions (some with JPG extension), but it has expanded into more.
In short this script now converts all the images into the JPEG image format and reduces their filesize to be below certain thresholds. It will first try reducing the JPEG quality, by removing information most human eyes can't distinguish. When the first reduction fails, it will try again with a more aggressive reduction, and if that fails it will reduce the image size slightly.
The filesize thresholds are 350kB for Fanart/Backdrops, 150kB for covers and 20kB for cover thumbnails. On my own collection roughly 60% was already below those thresholds, an additional 30% worked after the first reduction (JPEG 85), another 9.5% required JPEG 70 and only a stuborn 0.5% needed the maximum reduction. I personally found no visual difference after all was done, but then again my eyes aren't getting any younger
To use this tool:
- Please download Nconvert directly via: Nconvert 32-bit or Nconvert 64-bit
- Download the attachment and unzip it inside the unzipped folder of the Nconvert tool.
Then simply execute "!MediaPortal Fix Thumbs.cmd" and it will do the rest.
Please be patient, the process takes a while. An added delay is caused by the fact that all the images are first duplicated into the Temporary folder, then processed, and finally copied back (ugly but it works and avoids problems). A crude log file is created so you can verify the process afterwards.
Attachments
Last edited: