View Single Post
Old 12-17-2008, 01:40 PM   #23
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by mscott161 View Post
Nick,

I know you are working on the conversion of imp to other formats. I have been working on the same goal. I have viewed the source code for the LZSS compression but have not been successful in tweeking it to decompress the text from the imp. Can you give me and insite? I would be willing to same source code in the endever. My code is currently in c# and working toward a imp to lrf converter.

Michael
Nice to hear of your .imp interest, as I'm a big supporter of this format! I would welcome another programmer on the .imp band-wagon.

The LZSS decompressor routine has already been re-written (and working) in Perl. It's been incorporated into EBook-Tools by mobileread.com member AZed by way of a LZSS.pm. It currently is only available in trunk, but should be released soon in version 4.0.

If you would like to PM me with your email address, I can help you with the C source code of same, but since it's a hack, I'm relucant (embarrassed) to post it here.

We (AZed and myself) have a lot more "goodies" in the EBook-Tools bag, like metadata editing and .html and images extraction. So stay-tuned!

I had previoulsy reverse-engineered the .imp format (as did ashkulz), but had no way of implementing what I had learnt via code. Now that I'm involved with EBook-Tools I forsee a lot of re-writing of existing programs to do things the EBook-Tools way. Perhaps you can use this for your conversions as well!
nrapallo is offline   Reply With Quote