Plugin Directory

Changeset 1513923


Ignore:
Timestamp:
10/13/2016 11:52:56 AM (9 years ago)
Author:
binarystash01
Message:

Imagemagick was made to use '-flatten' instead of '-layers flatten'. '-alpha off' was removed.

Location:
wp-booklet/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-booklet/trunk/classes/class-wp-booklet2-pdf.php

    r1506690 r1513923  
    8282        $pdf = $this->_file;
    8383        $target = $upload_path . '/wp-booklet-test-' . uniqid() . '.jpg';
    84         $command = new WP_Booklet2_Command("convert", "-background white -alpha off -layers flatten -limit memory 32MiB -limit map 64MiB {$pdf} {$target}");
     84        $command = new WP_Booklet2_Command("convert", "-background white -flatten -limit memory 32MiB -limit map 64MiB -verbose {$pdf} {$target}");
    8585        $result = $command->run_command();
    8686       
     
    131131       
    132132        //Use Imagemagick and Ghostscript to convert PDF pages into jpegs
    133         $command = new WP_Booklet2_Command("convert", "-background white -alpha remove -density 200 -verbose {$pdf_path}{$conversion_page_count} {$upload_path}/{$image_group}.jpg");
     133        $command = new WP_Booklet2_Command("convert", "-background white -flatten -limit memory 32MiB -limit map 64MiB -verbose {$pdf_path}{$conversion_page_count} {$upload_path}/{$image_group}.jpg");
    134134        $operation = $command->run_command();
    135135       
  • wp-booklet/trunk/readme.txt

    r1506690 r1513923  
    8383== Changelog ==
    8484
     85= 2.1.8 =
     86* Imagemagick was made to use '-flatten' instead of '-layers flatten'. '-alpha off' was removed.
     87
    8588= 2.1.7 =
    8689* Imagemagick now uses -layers instead of -alpha remove
     
    197200== Upgrade Notice ==
    198201
     202= 2.1.8 =
     203* Imagemagick was made to use '-flatten' instead of '-layers flatten'. '-alpha off' was removed.
     204
    199205= 2.1.7 =
    200206* Imagemagick now uses -layers instead of -alpha remove
  • wp-booklet/trunk/wp-booklet.php

    r1506690 r1513923  
    33 * Plugin Name: WP Booklet
    44 * Description: Allows creation of flip books using the jQuery Booklet plugin. Successor to WP Booklet 1.x
    5  * Version: 2.1.7
     5 * Version: 2.1.8
    66 * Author: BinaryStash
    77 * Author URI:  http://www.binarystash.net
Note: See TracChangeset for help on using the changeset viewer.