wordpress-develop/tests/phpunit/data/images
Anthony Burchell 287fd501f2 Media: Adjust PDF upload handling to remove non-opaque alpha channels from previews.
Previously, Imagick uploads of PDF files with non-opaque alpha channels would result in a black background replacing alpha in the generated thumbnail. This patch adds a `remove_pdf_alpha_channel()` function in the Imagick classes to use a white background instead.

Props gitlost, joemcgill, joedolson, launchinteractive, emirpprime, mwtsn, ceer, maysi, madejackson, 6adminit, costdev, oglekler.
Fixes #39216.


git-svn-id: https://develop.svn.wordpress.org/trunk@56271 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-19 22:33:47 +00:00
..
2004-07-22-DSC_0007.jpg
2004-07-22-DSC_0008.jpg
2007-06-17DSC_4173.JPG
33772.jpg
a2-small.jpg
canola.jpg
codeispoetry.png
gradient-square.jpg
one-blue-pixel-1-100x100.png
one-blue-pixel-100x100.png
sugarloaf-mountain.jpg
test-alpha.pdf Media: Adjust PDF upload handling to remove non-opaque alpha channels from previews. 2023-07-19 22:33:47 +00:00
test-image-1-100x100.jpg
test-image-2.gif
test-image-3.jpg
test-image-4.png
test-image-cmyk.jpg
test-image-grayscale.jpg
test-image-iptc.jpg
test-image-large.jpg
test-image-lzw.tiff
test-image-mime-jpg.png
test-image-no-extension
test-image-rotated-90ccw.jpg
test-image-rotated-90cw.webp
test-image-upside-down.jpg
test-image-zip.tiff
test-image.bmp
test-image.gif
test-image.ico
test-image.jp2
test-image.jpeg
test-image.jpg
test-image.pct
test-image.png
test-image.psd
test-image.sgi
test-image.tga
test-image.tiff
test-image.webp
test-square-150.jpg
transparent.png
waffles.jpg
webp-animated.webp
webp-lossless.webp
webp-lossy.webp
webp-transparent.webp
wordpress-gsoc-flyer.pdf