mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Use existing image decoders to handle clipboard BMP data.
This gets rid of the old nsImageClipboard widget code in favor of using the nsBMPDecoder in imglib.
This commit is contained in:
parent
84cc1f3239
commit
c15f982d7a
11 changed files with 149 additions and 651 deletions
|
|
@ -107,6 +107,9 @@
|
|||
#define IMAGE_TIFF "image/tiff"
|
||||
#define IMAGE_BMP "image/bmp"
|
||||
#define IMAGE_BMP_MS "image/x-ms-bmp"
|
||||
// This is used internally to represent Windows clipboard BMPs which remove
|
||||
// part of the header.
|
||||
#define IMAGE_BMP_MS_CLIPBOARD "image/x-ms-clipboard-bmp"
|
||||
#define IMAGE_ICO "image/x-icon"
|
||||
#define IMAGE_ICO_MS "image/vnd.microsoft.icon"
|
||||
#define IMAGE_ICON_MS "image/icon"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue