Active
Project:
Image Optimize
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2016 at 21:33 UTC
Updated:
31 Aug 2018 at 05:54 UTC
Jump to comment: Most recent
Comments
Comment #2
steven jones commentedTricky!
I suppose we could do something like hash the image with sha1 and if we're tried to optimise it before, don't bother.
This could easily be made into a DB table, with a report of previous optimisations etc.
Moving to the latest version of the module for implementation.
Comment #3
steven jones commentedThis would only work for lossless optimizations I suppose.
Keep a list of hashes of results of files recently optimized and if its seen again, skip lossless optimization.
I'm going to push this back into the 7.x-1.x branch as the X-x-2.x work very differently now, and allow for much finer control of when images are optimized: in those branches it's highly unlikely to re-apply optimizations.