[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Pre-commit hook to ensure pngcrush has been used on every png

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 19 Aug 2009 14:25:07 +0400

Greetings, Ryan Schmidt!

> I work on web sites, and I want to make sure that any png file I
> commit takes as little disk space possible. When I think about it, I
> run pngcrush on each png before committing, but I often forget. So
> today I wrote a pre-commit hook to enforce that every png must be
> crushed. Here it is, in case this is useful to others.

If I understand it right, you're forcibly running pngcrush on png files and
see if they were changed or not?
What happens if my image editing sofrtware or local different version of
pngcrush compressing them better than server version?
Your hook will tell me that i should use pngcrush, but i've either used it or
can't achieve better results using it.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 19.08.2009, <14:22>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385172
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-19 12:30:48 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.