Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MIME Type Definitions for JPEG‑XL Support #627

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mime/cupsfilters-individual.convs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ text/plain application/pdf 32 texttopdf
image/pwg-raster application/pdf 32 pwgtopdf
image/png application/vnd.cups-pdf 65 imagetopdf
image/jpeg application/vnd.cups-pdf 65 imagetopdf
image/jxl application/vnd.cups-pdf 65 imagetopdf
image/tiff application/vnd.cups-pdf 65 imagetopdf
application/vnd.cups-pdf-banner application/pdf 32 bannertopdf
image/urf application/pdf 0 pwgtopdf
Expand Down Expand Up @@ -75,6 +76,7 @@ application/vnd.adobe-reader-postscript application/vnd.cups-postscript 66 pstop
application/PCLm application/vnd.cups-raster 32 pclmtoraster
image/png application/vnd.cups-raster 100 imagetoraster
image/jpeg application/vnd.cups-raster 100 imagetoraster
image/jxl application/vnd.cups-raster 100 imagetoraster
image/tiff application/vnd.cups-raster 100 imagetoraster
image/pwg-raster application/vnd.cups-raster 100 pwgtoraster
image/urf application/vnd.cups-raster 100 pwgtoraster
Expand Down
1 change: 1 addition & 0 deletions mime/cupsfilters-universal.convs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#

image/jpeg application/vnd.universal-input 0 -
image/jxl application/vnd.universal-input 0 -
image/png application/vnd.universal-input 0 -
image/tiff application/vnd.universal-input 0 -
image/pwg-raster application/vnd.universal-input 0 -
Expand Down
3 changes: 3 additions & 0 deletions mime/cupsfilters.types
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ image/x-xbitmap xbm string(0,"#define");
image/x-xpixmap xpm string(3,"XPM")
image/x-xwindowdump xwd string(4,<00000007>)
image/urf urf string(0,UNIRAST<00>)
image/jxl jxl string(0,"<0000000C4A584C20>")
image/jxl jxl string(0,"<FF0A>")

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should work in one line:

image/jxl       		jxl string(0,"<0000000C4A584C20>") string(0,"<FF0A>")

Each space-separated expression is logically ORed.


########################################################################
#
Expand Down