View Single Post
Old 02-09-2008, 03:31 PM   #4
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,149
Karma: 4315826
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by myelinator View Post
This program relies on two other pieces of software:
  1. Mobiperl (http://www.mobileread.com/forums/sho...&highlight=prc) and its dependencies (perl, etc.)
  2. ImageMagick (http://www.imagemagick.org/)

After you have downloaded Mobiperl you need to make modifications to the source perl to optimize it for use with the Kindle. In the file [...your perl libraries...]/MobiPerl/Util.pm in the subroutine get_image_data() change the lines that read:
Code:
my $maxwidth = 480;
my $maxheight = 640;
to:
Code:
my $maxwidth = 525;
my $maxheight = 700;
So you got Mobiperl to work on a Mac. Was there any problem with the Perl code? And could you write something about how to install Perl and the required modules on a Mac that I could put on the web page for Mobiperl?

This 480x640 limit is because of a bug in the Cybook. When I try to use larger images then sometimes the file cannot be read. So to be safe for all devices I have this limit until Bookeen fix their bug.
tompe is offline   Reply With Quote