Skip to content

Commit

Permalink
feat: add avif and heif image format file support
Browse files Browse the repository at this point in the history
add kimageformat-plugins for the qimage plugins
add the libavif-dev as heif file decoder. add the
libheif-dev as avif file decoder.

Log: add avif and heif image format file support
  • Loading branch information
add-uos authored and deepin-bot[bot] committed May 31, 2024
1 parent ccf2517 commit d72f153
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libimageeditor (>= 1.0.29)
Description: Album for UOS
Album is a fashion photo manager for viewing and organizing pictures.
Recommends: uos-reporter, deepin-event-log
Recommends: uos-reporter, deepin-event-log, kimageformat-plugins

Package: libunionimage1
Architecture: any
Expand Down
4 changes: 3 additions & 1 deletion libUnionImage/UnionImage/unionimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ class UnionImage_Private
<< "SVG" << "ICNS" << "GIF" << "MNG" << "TIF"
<< "TIFF" << "BMP" << "XPM" << "MRW" << "DNG"
<< "RAF" << "CR2" << "MEF" << "RAW" << "ORF"
<< "NEF" << "PEF" << "PXM" << "ICO" ;
<< "NEF" << "PEF" << "PXM" << "ICO"
<< "HEIF" << "HEIC" << "HEJ2"
<< "AVIF" << "AVIFS";

m_canSave << "BMP" << "JPG" << "JPEG" << "PNG"
<< "PGM" << "PPM" << "PNM" << "WBMP" << "WEBP"
Expand Down
2 changes: 1 addition & 1 deletion src/deepin-album.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ X-Deepin-ManualID=deepin-album
X-Deepin-Vendor=deepin
X-Deepin-TurboType=dtkwidget

MimeType=image/bmp;image/bmp24;image/ico;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tga;image/tif;image/tiff;image/tiff24;image/psd;image/xpm;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/webp;image/wdp;image/cr2;image/pef;image/arw;image/nef;image/icb;image/dng;image/vda;image/vst;image/raf;image/orf;image/svg;image/ptif;image/mef;image/mrw;image/xbm;image/svg+xml;application/ogg;application/vnd.apple.mpegurl;application/vnd.rn-realmedia;application/x-extension-mp4;application/x-flac;application/x-matroska;application/x-ogg;application/xspf+xml;image/vnd.rn-realpix;misc/ultravox;video/3gpp;video/dv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flv;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-mpeg2;video/x-ms-afs;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-nsv;video/x-ogm+ogg;video/x-theora;video/x-theora+ogg;x-content/video-dvd;x-content/video-svcd;x-content/video-vcd;x-scheme-handler/mms;x-scheme-handler/rtmp;x-scheme-handler/rtsp;application/mxf;text/vnd.qt.linguist;
MimeType=image/bmp;image/bmp24;image/ico;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tga;image/tif;image/tiff;image/tiff24;image/psd;image/xpm;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/webp;image/wdp;image/cr2;image/pef;image/arw;image/nef;image/icb;image/dng;image/vda;image/vst;image/raf;image/orf;image/svg;image/ptif;image/mef;image/mrw;image/xbm;image/svg+xml;image/heif;image/hej2k;image/avif;application/ogg;application/vnd.apple.mpegurl;application/vnd.rn-realmedia;application/x-extension-mp4;application/x-flac;application/x-matroska;application/x-ogg;application/xspf+xml;image/vnd.rn-realpix;misc/ultravox;video/3gpp;video/dv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flv;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-mpeg2;video/x-ms-afs;video/x-ms-asf;video/x-msvideo;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-nsv;video/x-ogm+ogg;video/x-theora;video/x-theora+ogg;x-content/video-dvd;x-content/video-svcd;x-content/video-vcd;x-scheme-handler/mms;x-scheme-handler/rtmp;x-scheme-handler/rtsp;application/mxf;text/vnd.qt.linguist;

# Translations:
# Do not manually modify!
Expand Down

0 comments on commit d72f153

Please sign in to comment.