View Single Post
Old 08-07-2012, 07:17 AM   #113
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Titano View Post
This is not actually tested and might need some (a.k.a - a lot of) modifications but I'm sure the base idea is sound. It just converts all the images to png with a resolution (What is an optimal resolution for the images?) of 600x800 (can be changed) using native linux commands. (It also removes the old images.) What do you think? It could be launched like the extract command or others and then zoom won't be needed as much. Plus we could convert all the images to greyscale or the like and add that image post processing you wanted. Komic is looking great!

P.P.S. - It's already been said but take your time!, we are willing to wait for great things like Komic.
Actually, it isn't even close to correct for the intended goal.

Try the command:
man convert

Also note:
Your find command can return a list of found files and convert does not take a list of input files ;

There isn't such an option as "-resize" the closest option is "-size" ;

This is Linux, which does not determine file types by extension ;

Just changing the extension does not change the format the image data is recorded in (although it might well screw-up any Windows program accessing the images in that user storage area).

Your command does not specify the output format of 'png' for the output file, so the output file is still recorded in 'jpg' format ;

The man(ual) command for convert can tell you all about the above.
If you don't have a Linux install with the manuals installed, well, Google knows "man <whatever>"

- - - -

I do agree with one of your statements: You didn't test this.
knc1 is offline   Reply With Quote