From 760fb8278fcd8849f85f3c83aff1c6dfe7897b69 Mon Sep 17 00:00:00 2001 From: JSCHILL1 Date: Tue, 7 Apr 2009 22:53:28 -0500 Subject: [PATCH] Some more todo notes --- scour.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scour.py b/scour.py index e9724ad..0613044 100755 --- a/scour.py +++ b/scour.py @@ -34,8 +34,6 @@ # * Collapse duplicate gradient definitions # * Remove gradients that are only referenced by one other gradient # * Clean up CSS -# * Remove Default values, i.e. opacity: 1; -# * Remove Not applicable values, i.e. opacity: 0; fill-color: #00000; # * Convert RGB colours from RGB(r,g,b) to #RRGGBB format # * Convert RGB colours from #RRGGBB to #RGB if possible # * Clean up paths @@ -56,6 +54,7 @@ # + Remove any stroke-X styles when stroke-opacity="0" or stroke-width="0" # - Removed duplicate gradient stops # - Convert all colors to #RRGGBB format +# - Convert all referenced rasters into base64 encoded URLs if the files can be found import sys import string