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 Tests: Replace broken codeispoetry.png file. 2017-01-11 16:24:30 +00:00
gradient-square.jpg
one-blue-pixel-1-100x100.png Upload: fix wp_unique_filename() to prevent name collisions with existing or future image sub-size file names, and add unit tests. 2019-12-06 22:26:19 +00:00
one-blue-pixel-100x100.png Media: Improve and fix rotate/flip image tests 2019-03-29 02:48:08 +00:00
sugarloaf-mountain.jpg Media: Replace tests/phpunit/data/images/sugar-mountain.jpg test image. 2021-11-29 20:16:32 +00:00
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 Media: Fix wp_unique_filename() to check for name collisions with all alternate file names when an image may be converted after uploading. This includes possible collinions with pre-existing images whose sub-sizes/thumbnails are regenerated. 2021-08-24 20:50:21 +00:00
test-image-2.gif Media: Fix wp_unique_filename() to check for name collisions with all alternate file names when an image may be converted after uploading. This includes possible collinions with pre-existing images whose sub-sizes/thumbnails are regenerated. 2021-08-24 20:50:21 +00:00
test-image-3.jpg Media: Fix wp_unique_filename() to check for name collisions with all alternate file names when an image may be converted after uploading. This includes possible collinions with pre-existing images whose sub-sizes/thumbnails are regenerated. 2021-08-24 20:50:21 +00:00
test-image-4.png Media: Fix wp_unique_filename() to check for name collisions with all alternate file names when an image may be converted after uploading. This includes possible collinions with pre-existing images whose sub-sizes/thumbnails are regenerated. 2021-08-24 20:50:21 +00:00
test-image-cmyk.jpg
test-image-grayscale.jpg
test-image-iptc.jpg
test-image-large.jpg Media: Fix wp_image_file_matches_image_meta() to also match when the original image URL is used. 2020-07-12 21:18:38 +00:00
test-image-lzw.tiff
test-image-mime-jpg.png
test-image-no-extension PDF Images: Avoid a PHP Warning when attempting to process a file without an extension. 2016-12-12 06:18:30 +00:00
test-image-rotated-90ccw.jpg Media: enable generating multiple mime types for image uploads; specifically WebP versions for JPEG images by default. 2022-07-21 18:01:01 +00:00
test-image-rotated-90cw.webp Media: enable generating multiple mime types for image uploads; specifically WebP versions for JPEG images by default. 2022-07-21 18:01:01 +00:00
test-image-upside-down.jpg Media: Reset Exif orientation after rotate in WP_Image_Editor_Imagick. 2017-02-25 05:25:40 +00:00
test-image-zip.tiff
test-image.bmp
test-image.gif
test-image.ico Media: Recognize .ico files as displayable images on PHP 5.3+ and allow attachment meta data to be generated for them. 2018-03-05 01:02:20 +00:00
test-image.jp2
test-image.jpeg Media: enable generating multiple mime types for image uploads; specifically WebP versions for JPEG images by default. 2022-07-21 18:01:01 +00:00
test-image.jpg
test-image.pct
test-image.png
test-image.psd
test-image.sgi
test-image.tga
test-image.tiff
test-image.webp Images: enable WebP support. 2021-05-04 14:43:36 +00:00
test-square-150.jpg Media: Add test file missed in [55278]. 2023-02-07 17:37:16 +00:00
transparent.png
waffles.jpg
webp-animated.webp Images: enable WebP support. 2021-05-04 14:43:36 +00:00
webp-lossless.webp Images: enable WebP support. 2021-05-04 14:43:36 +00:00
webp-lossy.webp Images: enable WebP support. 2021-05-04 14:43:36 +00:00
webp-transparent.webp Images: enable WebP support. 2021-05-04 14:43:36 +00:00
wordpress-gsoc-flyer.pdf Media: Add support for rendering PDF thumbnails. 2016-10-26 07:27:51 +00:00