View Single Post
Old 02-14-2008, 05:36 PM   #254
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 tompe View Post
I meant that I did not find this line in the Perl code.

Yes, maybe the library I use (GD) will work? Look at how I handle images.
Sorry, now I know what you meant (I hope). You have version 2 of 'mobi2imp' included in your distribution. That line of code is in version 3 posted below.

I had looked at the GD.pm but didn't see anything promising. Usually, after the conversion, if I just re-write (and recompress) the images out using nconvert.exe or even the popular irfanview.exe, then the 'corrupt' images issue goes away.

-Nick

p.s. you can see from my script that I commented out
Code:
#use strict;
I did so because I was getting compile erros due to my setup/code not being 100% accurate. Do you know what breaks when I use:
Code:
use strict;
Attached Files
File Type: pl mobi2imp.pl (15.7 KB, 373 views)

Last edited by nrapallo; 02-14-2008 at 10:35 PM. Reason: Ignore p.s. to this post. Problem solved!
nrapallo is offline   Reply With Quote