View Single Post
Old 06-01-2010, 02:23 PM   #22
lilman
Addict
lilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-books
 
lilman's Avatar
 
Posts: 326
Karma: 960
Join Date: Jul 2009
Location: Florida, US
Device: Kindle DX, iPad
Here's the features I'm working on for the next release of Canti:

-[coding completed] Zip input image folders
For a long time I've had my manga scans organized as image folders, but since Canti can handle input .zip/.cbz files I've added this new feature. If it is enabled then all input image folders will be archived to zips (using whatever extension you set as zip_format, either .zip or .cbz) and the folders will be deleted. This will keep the file system cleaner since it reduces thousands of image files to a collection of zip archives.
-[coding in progress] .rar/.cbr support
This is tricky since rar is a proprietary format, meaning that I can't easily program a way to rar/unrar like I could with zips. Right now I'm planning on using whatever rar program you have on your system to perform the rar operations, similar to how ImageMagick is called external to Canti to perform image manipulation. I'm not sure if I can get this working right, but I'll try.

Don't expect the next release to come anytime soon... .rar/.cbr support is going to be a pain. If you have any feature requests you can reply to this thread or pm me.

-Update-
Finally got .rar/.cbr extraction working in Linux. With that done the rest of .rar/.cbr support shouldn't be too bad.

-Update 2-
Got .rar/.cbr creation working in Linux. Also wrote most of the logic for handling .rar/.cbr archives in the main program. Currently the program allows you to set zip and rar options separately (so you could output both .cbz and .cbr for each manga chapter if you wanted to) but I'm thinking about combining the two so that you just set one archive format (.zip, .cbz, .rar, or .cbr). I'll have to think about this more...

Next up I'll add Windows .rar/.cbr support. The coding is coming along nicely so expect a release in the next 5 days.

-Update 3-
.rar/.cbr support for Linux is complete, and it works like a champ! To make things easier I combined @zip and @rar into a single option @archive, and @zip_format and @rar_format into a single option @archive_format. I've programmed Windows .rar/.cbr support but haven't tested it yet. Still need to research Mac rar support since I don't have a Mac to test with, but it should be similar to Linux.

Coding is pretty much done but there are a lot of things left to test. Expect a release in the next 3 days.

Last edited by lilman; 06-06-2010 at 11:09 AM.
lilman is offline   Reply With Quote