-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
43 lines (28 loc) · 1.35 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
=== Imagick PDF fixes ===
Contributors: joostdekeijzer
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&[email protected]&item_name=dkzr-imagick-pdf-fixes+WordPress+plugin&item_number=Joost+de+Keijzer¤cy_code=EUR
Tags: media, image, pdf, thumbnail
Stable tag: 1.0.2
Requires at least: 5.0
Tested up to: 5.3
Requires PHP: 7.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Imagick doesn't handle tranparency with current WordPress settings. Now it does.
== Description ==
PDF thumbnails, automagicly generated by WordPress, don't handle transparency very well. This results in black pages.
In https://core.trac.wordpress.org/ticket/45982 and https://core.trac.wordpress.org/ticket/39216 there are workarounds, this plugin implements:
`$this->image->setImageAlphaChannel( Imagick::ALPHACHANNEL_REMOVE );`
This works for me using PHP7.2 with ImageMagick 6.9.10 and ghostscript 9.5.
== Installation ==
* Download the plugin
* Uncompress it with your preferred unzip program
* Copy the entire directory in your plugin directory of your WordPress blog (/wp-content/plugins)
* Activate the plugin
== Frequently Asked Questions ==
== Changelog ==
= 1.0.1 =
* rename to dkzr-imagick-pdf-fixes
= 1.0 =
* For attachments with a PDF extention: set the alpha channel to `Imagick::ALPHACHANNEL_REMOVE`
== Upgrade Notice ==