-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image support relies on external (non Perl) imlib2 program, no Windows support #32
Comments
I replaced GD with Imlib2, because I thought it is handier. But pure Perl would be awesome. Patches are welcome. |
I did a bit more research. The Imager module looks good but is fairly large and still requires libjpeg to be installed. Also found that you can download libjpeg and imlib2 binaries for windows by installing cygwin. I was wrong to say no Windows support (just no ActiveState support) for this module So given that, Image::Imlib2 is probably the best module to do the image rescaling. This module is failing on many of the cpan testers results because they do not have these graphics libraries installed locally. So could you please add a POD section along the following lines and then we could close this issue: =head2 LIMITATIONS A development version of Imlib2 and libjpeg must be installed locally before installing this module. |
Patch will be accepted |
Since I'm not aware anymore of all the details...
The Limitations-Section would make sense in the POD of |
Take a look here, you can see libjpeg listed as a dependency of Imlib2, not the perl Imlib2 module Agree, Ebook::Mobi::Image is best palce for this limitation note, |
Trial is uploaded: https://metacpan.org/release/BORISD/EBook-MOBI-Image-0.16-TRIAL Can you please test it, since I don't have the setup for it atm. I just mentioned |
Hi Boris, I am not able to test the Image module, as I run Windows and do not have The only problem I can see is the version numbering which I have mentioned And they should go up in sequence, so jumping from 0.69 to 0.7 (which is Regards, Kim Trial is uploaded: Can you please test it, since I don't have the setup for it atm. I just mentioned Imlib2 since libjpeg is a subdependency, as others to... I — |
To insert images, the Image::Imlib2 module is a dependency. This in turn requires the imlib2 program to be installed.
This package is only available for Linux, no Windows version, which means I can't create any images if I want to use this module. Also Imlib2 doesn't seem to have many recent updates, and some people have had trouble configuring it: http://cpanratings.perl.org/dist/Image-Imlib2
There are several pure perl modules that will rescale images, including Image::Imager and Image::Scale . They will work on all operating systems and seem to be more actively maintained
If it is not practical for you to switch to one of these alternatives, I suggest you add a LIMITATION section to your documentation, outlining no MS Windows support.
A note about needing to install imlib2 binaries or compile the package locally would also help, but may this should probably go into the MOBI::Image module doco.
The text was updated successfully, but these errors were encountered: