Lurker News
Any side projects, Game, OSS, Hacks.

Comments (678) 111 threads

Show all comments

Showing thread 21 of 111

vladdanilov5 replies#
Optimage – a visually lossless image optimization tool

http://getoptimage.com
Released this week. Came unnoticed on HN but somehow got featured on PH. 1200+ downloads of free version and a few sales.
Not sure if that'll change. In that case, the best of 2016 will be one of the plugins for Sketch https://news.ycombinator.com/item?id=12319286.

Romajashi3 replies#
what's PH?
bertjk#
Product Hunt
nonsince1 reply#
Pornhub
Infinitesimus5 replies#
To be fair porn sites do need all the video/image optimization they can get due to the sheer amount of data they hold

Continue this thread — 5 replies

Pharaoh21 reply#
How is it different from ImageOptim?

https://github.com/ImageOptim/ImageOptim
Also are you going to support and fix the frequent bugs that png optimizers run into with esoteric color space/alpha combinations beyond the best effort...?

vladdanilov#
Sorry for copypasting, I get this question a lot.

Optimage can do automatic lossy (visually lossless) optimizations on JPEGs and PNGs. It means you don't have to manually tune JPEG quality for each image and can get some PNGs quantized to 256 colors if visual differences are negligible.
It uses a modified quality metric based on Contrast Sensitivity Function (CSF) and contrast masking of DCT coefficients for JPEGs, and a custom one for color-quantized PNGs (major difference is sensitivity to noticeable gradients).
Optimage has a lot of tweaks to compression algorithms to squeeze some more bytes (Pareto principle here). But much more bytes are saved by exhaustively trying all possible image data representations, e.g. fast brute forcing of PNG delta filters, dirty alpha, palette sorting.
There's a good PNG test corpus at http://css-ig.net/images/png-test-corpus/png-test-corpus-201.... Optimage – 276 058 bytes, ImageOptim – 297 561 bytes. But this is just a lossless test.
> Also are you going to support and fix the frequent bugs that png optimizers run into with esoteric color space/alpha combinations beyond the best effort...?
At some stage, yes. Right now I'm focused on things like losslessly rotating JPEGs according to Orientation meta in Exif, adding CMYK to RGB convertion when Convert to sRGB is ON, supporting container formats like ICO and ICNS, more tweaks to compressors for performance and smaller output, GUI improvements, etc.

nkkollaw2 replies#
Saw that on PH, looks good.

May I ask what percentage of sales did you get?
I'm going to launch my product soon, and I'd like to know what I can expect.

vladdanilov#
Thanks. Literally a few. Contact me if you need specifics.
monkeywork2 replies#
What is PH?
benmarks1 reply#
Any thoughts about delivering this as a webservice? Lots of catalog images out there are managed by merchants and need hands-off processing. Happy to chat further about this.
vladdanilov#
CLI is cross platform. I'm certainly planning a server license with an option to spin it on AWS.

I have some performance updates planned making it 2-3 times faster. Probably worth waiting.
Email is in the HN profile.

kusha2 replies#
Just a small suggestion, clicking to see the difference on the demo images wasn't clear at first. Maybe you should use one of those sliders that they use for before/after images. I think that would be better UX.
vurpo1 reply#
I think that kind of drives the point home. Maybe it's my display or my vision, but I still can't tell a difference between the "Before" and "After" pictures. That's very impressive to me, looking at the compression ratios.
vladdanilov#
The only way I could make it fairer is to add a magnifying area zooming to 100% but that would be too much work. Hoping that links to images is enough.
vladdanilov#
I discarded the idea of using a sliding divider because it cannot switch images fast enough to notice tiny compression artifacts, if any.

But thanks for your feedback. I have a couple of ideas how to make it more clear.