Changeset 1385515
- Timestamp:
- 04/03/2016 08:02:49 AM (10 years ago)
- Location:
- wp-booklet/trunk
- Files:
-
- 3 edited
-
classes/class-wp-booklet2-pdf.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-booklet.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-booklet/trunk/classes/class-wp-booklet2-pdf.php
r1385454 r1385515 82 82 $pdf = $this->_file; 83 83 $target = $upload_path . '/wp-booklet-test-' . uniqid() . '.jpg'; 84 $command = new WP_Booklet2_Command("convert", "- limit memory 32MiB -limit map 64MiB {$pdf} {$target}");84 $command = new WP_Booklet2_Command("convert", "-background white -alpha remove -limit memory 32MiB -limit map 64MiB {$pdf} {$target}"); 85 85 $result = $command->run_command(); 86 86 … … 131 131 132 132 //Use Imagemagick and Ghostscript to convert PDF pages into jpegs 133 $command = new WP_Booklet2_Command("convert", "- density 200 -verbose {$pdf_path}{$conversion_page_count} {$upload_path}/{$image_group}.jpg");133 $command = new WP_Booklet2_Command("convert", "-background white -alpha remove -density 200 -verbose {$pdf_path}{$conversion_page_count} {$upload_path}/{$image_group}.jpg"); 134 134 $operation = $command->run_command(); 135 135 -
wp-booklet/trunk/readme.txt
r1385456 r1385515 83 83 == Changelog == 84 84 85 = 2.1.3 = 86 * Removed transparency during PDF conversion 87 85 88 = 2.1.2 = 86 89 * Added page indicator to PDF uploader … … 182 185 == Upgrade Notice == 183 186 187 = 2.1.3 = 188 * Removed transparency during PDF conversion 189 184 190 = 2.1.2 = 185 191 * Added page indicator to PDF uploader -
wp-booklet/trunk/wp-booklet.php
r1385454 r1385515 3 3 * Plugin Name: WP Booklet 4 4 * Description: Allows creation of flip books using the jQuery Booklet plugin. Successor to WP Booklet 1.x 5 * Version: 2.1. 25 * Version: 2.1.3 6 6 * Author: BinaryStash 7 7 * Author URI: http://www.binarystash.net
Note: See TracChangeset
for help on using the changeset viewer.