You are here

Lossless Image Compression for Portableapps.com Images

9 posts / 0 new
Last post
Peppernrino
Peppernrino's picture
Offline
Last seen: 2 days 9 hours ago
Joined: 2016-09-05 13:42
Lossless Image Compression for Portableapps.com Images

In the interest of making Portableapps.com (and Launcher) as small as it can be, I have run all of the images from all of the folders through FileOptimizer - which is a front-end app for all of the cmdline compression algorithms. https://sourceforge.net/projects/nikkhokkho/files/FileOptimizer/ I'll be making a thread later to add to this platform. It's a great application. I use it every day.

I have only used lossless compression. File size was reduced considerably, and I feel it would be good to include these compressed images as part of the next update, or as part of current download source (not exactly sure if that's possible).

https://spideroak.com/share/N4YFAZLQOBSXEMDP/public/d%3A/Gridcoin.Tools/...

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
325K

I calculated out the difference to check and it comes to 325K, or about 2% of the total platform install size at present. We'd need to go through and verify some of the more important ones first. I'll also have to try out this tool. Thanks

Sometimes, the impossible can become possible, if you're awesome!

Peppernrino
Peppernrino's picture
Offline
Last seen: 2 days 9 hours ago
Joined: 2016-09-05 13:42
sweet.

No problem, man. I'm glad you're cool with it. Always kind of scary posting on dev forums, then just waiting to see if it was awesome or if you're gonna get ripped on for it. lol

Sorry for not doing the calculations for you... I actually took screenshots of the final result, but forgot I couldn't add pictures to this forum. Blum

I also noticed in recent versions that he's added ads to his app. Boo-urns, but it's still great.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
App Issues

It's worth noting that the app can not currently be added to our lineup. It loads external ads and is apparently not too picky about the type of ads. On first run, it loaded up a series of scam ads whose js files triggered Windows Defender with 3 alerts. The app apparently uses the Windows MSHTML component to display the ads which could be insecure on some systems.

Sometimes, the impossible can become possible, if you're awesome!

Peppernrino
Peppernrino's picture
Offline
Last seen: 2 days 9 hours ago
Joined: 2016-09-05 13:42
ah...

Thanks for the heads up. I'll send him a message. Smile

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Screenshots

It's also worth noting that the screenshots on the app's homepage do not show ads, likely to being from a pre-ad version, which is disingenuous.

Sometimes, the impossible can become possible, if you're awesome!

Peppernrino
Peppernrino's picture
Offline
Last seen: 2 days 9 hours ago
Joined: 2016-09-05 13:42
from email

"Ads can easily be deactivated by using FileOptimizer options menu.
(picture not shown)
I do not use Windows Defender at all, but if curious, ads are gathered from here: https://nikkhokkho.sourceforge.io/images/FileOptimizerAds.php you will see there is nothing dangerous, and reported 100% clean by 65 scanners: https://www.virustotal.com/#/url/ce43fd6409ecb53eb030260990932e71b8d18fe...

The unsafe about MSHTML, well it is bundled onto Windows, so better blame them, not me. Is the same engine used in Internet Explorer, in vieweing CHM help files, ..."

This was his response.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Disable Option

Ah, the disable option is good to know about.

As for the ads, while the page the publisher points to is fine, it then loads an ad from a third party network. Literally the first time I started up FileOptimizer I got 4 alerts in Windows Defender. Three for variants of SupportScam:JS/TechBrolo (see alert), which is one of those fake security alert ads, and one alert for Trojan:Win32/Vigorf.A (see alert), which is an ad that attempts to install or trick you into installing a trojan. Whatever ad network the publisher is using likely does zero verification of the ads going through it. The publisher can only control the choice of ad network generally not the ads coming through it.

Windows Defender on Windows 10 is the default for all users. Windows Security Essentials on Windows 7/8 is the same product and very popular. It should be the first thing to test against.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
15 Beta 3

The PA.c Platform 15 Beta 3 release compresses images using the current version of FileOptimizer saving about 310k. Some images were excluded from compression out of caution for compatibility.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments