mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
Reorganised todo, and added two features.
This commit is contained in:
parent
4c9c6d770f
commit
1dcb88f9b5
1 changed files with 16 additions and 6 deletions
22
todo
22
todo
|
|
@ -1,21 +1,24 @@
|
||||||
==========================================
|
==========================================
|
||||||
todo app wise
|
todo app wise
|
||||||
- general refactoring
|
- general refactoring
|
||||||
- use multiprocessing lib to take advantage of multicore/multi-CPU to compress
|
|
||||||
multiple files simultaneously (threads have issues in Python; see "GIL")
|
|
||||||
- sys.exit(1) for errors -- how to handle? Not good to simply sys.exit() from
|
- sys.exit(1) for errors -- how to handle? Not good to simply sys.exit() from
|
||||||
any random part of code (can leave things in a mess)...
|
any random part of code (can leave things in a mess)
|
||||||
- consider context managers for handling compression, so as to keep operations
|
- consider context managers for handling compression, so as to keep operations
|
||||||
atomic and/or rollback-able.
|
atomic and/or rollback-able
|
||||||
- add a recursive option on the command-line for use with -d
|
- add a recursive option on the command-line for use with -d
|
||||||
- make -f accept a list of files
|
- make -f accept a list of files
|
||||||
- make the current verbose be "normal", and make -verbose print the commandline
|
- make the current verbose be "normal", and make -verbose print the commandline
|
||||||
app prints as well.
|
app prints as well
|
||||||
|
- verify that a *recompressed* file is smaller than the compressed one
|
||||||
|
|
||||||
todo else
|
todo else
|
||||||
- figure out dependencies for a .deb/how to make a .deb <- via launchpad
|
- figure out dependencies for a .deb/how to make a .deb <- via launchpad
|
||||||
- figure out how to make mac and win versions (someone else :) <- via gui2exe
|
- figure out how to make mac and win versions (someone else :) <- via gui2exe
|
||||||
|
|
||||||
|
todo later
|
||||||
|
- use multiprocessing lib to take advantage of multicore/multi-CPU to compress
|
||||||
|
multiple files simultaneously (threads have issues in Python; see "GIL")
|
||||||
|
|
||||||
===========================================
|
===========================================
|
||||||
later versions:
|
later versions:
|
||||||
animate compressing.gif
|
animate compressing.gif
|
||||||
|
|
@ -25,4 +28,11 @@ later versions:
|
||||||
imagemagick/graphicsmagick?
|
imagemagick/graphicsmagick?
|
||||||
always on top option
|
always on top option
|
||||||
notification area widget
|
notification area widget
|
||||||
|
intelligently recompress, i.e. go through the list of files, recompress
|
||||||
|
each until no more gains are seen (and a sensible number-of-tries limit
|
||||||
|
isn't exceeded), and flag that file as fully-optimised. Repeat for each
|
||||||
|
file in the list, until all are done. Saves pointlessly trying to
|
||||||
|
optimise files. Consider the case of a directory of 100 files, already
|
||||||
|
optimised once. Recompressing maximally compresses 90. Recompressing
|
||||||
|
again would currently try to recompress all 100, when only 10 would be
|
||||||
|
worthy of trying to compress further.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue