The problem is that image import with onfly compression is very slow (about 4-5 Mb/s) and processor expensive so I want to setup delayed compression for old images which should be executed when system isnt busy (at weekends).
Are there any drawbacks if I compress file with zlib and then alter 'compressiontype' to 2,'compressionhash' and 'compressionsize' columns in the 'attachedfiles' table?
Are there any special parameters of zlib compression?