add license, clean up todo

This commit is contained in:
Kilian Valkhof 2010-02-03 15:37:00 +01:00
parent d7cd915655
commit 60ae6da83a
3 changed files with 26 additions and 26 deletions

23
MIT-LICENSE Normal file
View file

@ -0,0 +1,23 @@
Copyright (c) 2010 Kilian Valkhof, Paul Chaplin
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

25
todo
View file

@ -1,32 +1,8 @@
- make an index of available command line tools
All:
- imagemagick? *
png:
- optipng * (better version of pngcrush)
- pngnq * (lossy, better version of pngquant)
- pngout http://www.jonof.id.au/kenutils
- pngcrush *
- pngquant * (lossy)
- advancecomp/advpng *
jpg:
- jpegoptim *
- libjpeg/jpegtran *
gif:
- optipng * no
- gifsicle * (maybe)
* = available in ubuntu
trimage: simple gui for:
optipng for png and gif, jpegoptim for jpeg. both are available in ubuntu as dependencies (our primary platform)
^ no gif. optipng optimized gif by converting to png
========================================== ==========================================
todo app wise todo app wise
- implement threading - implement threading
- errors need to go to standarderror - errors need to go to standarderror
- add file icon to table view - add file icon to table view
- hide jpegoptim from commandline
todo else todo else
- figure out dependencies for a .deb/how to make a .deb - figure out dependencies for a .deb/how to make a .deb
@ -42,7 +18,6 @@ optipng 0.6.2.1
jpgegoptim 1.2.2 jpgegoptim 1.2.2
advancecomp 1.15 advancecomp 1.15
=========================================== ===========================================
1.5:
later versions: later versions:
pnypng api? http://www.gracepointafterfive.com/punypng/api pnypng api? http://www.gracepointafterfive.com/punypng/api
imagemagick/graphicmagick? imagemagick/graphicmagick?

View file

@ -3,10 +3,12 @@ from os import system
from os import listdir from os import listdir
from os import path from os import path
from subprocess import * from subprocess import *
from optparse import OptionParser
from PyQt4.QtCore import * from PyQt4.QtCore import *
from PyQt4.QtGui import * from PyQt4.QtGui import *
from hurry.filesize import * from hurry.filesize import *
from optparse import OptionParser
from ui import Ui_trimage from ui import Ui_trimage