Permalink
Browse files

Plugins (#4)

* Initial checkin of eps kdelib plugin

- just for testing
- https://api.kde.org/frameworks/kimageformats/html/index.html

* The initial import of KImageFormats from the KDE project

Imported from https://github.com/KDE/kimageformats
- v5.39.0-rc1
- a65b504

* CMake definitions for building plugins

* Adding missing license for KDE KImageFormats plugins

* Supported formats extended

* MacOS plugin support
  • Loading branch information...
vookimedlo committed Oct 14, 2017
1 parent 935471a commit 9a13ca6a525214bd1072afaea01f1bac124a9769
Showing with 9,246 additions and 21 deletions.
  1. +510 −0 LICENSE-PLUGINS-KIMAGEFORMATS
  2. +39 −0 build/cmake/CMakeLists.txt
  3. +6 −0 build/cmake/mac/deploy.sh
  4. +9 −0 build/cmake/mac/support/MacOSXBundleInfo.plist.in
  5. +15 −0 src/plugins/kimageformats/AUTHORS
  6. +510 −0 src/plugins/kimageformats/COPYING.LIB
  7. +362 −0 src/plugins/kimageformats/eps.cpp
  8. +4 −0 src/plugins/kimageformats/eps.json
  9. +38 −0 src/plugins/kimageformats/eps_p.h
  10. +240 −0 src/plugins/kimageformats/exr.cpp
  11. +4 −0 src/plugins/kimageformats/exr.json
  12. +37 −0 src/plugins/kimageformats/exr_p.h
  13. +416 −0 src/plugins/kimageformats/gimp_p.h
  14. +238 −0 src/plugins/kimageformats/hdr.cpp
  15. +21 −0 src/plugins/kimageformats/hdr_p.h
  16. +88 −0 src/plugins/kimageformats/kra.cpp
  17. +38 −0 src/plugins/kimageformats/kra.h
  18. +5 −0 src/plugins/kimageformats/kra.json
  19. +87 −0 src/plugins/kimageformats/ora.cpp
  20. +38 −0 src/plugins/kimageformats/ora.h
  21. +5 −0 src/plugins/kimageformats/ora.json
  22. +692 −0 src/plugins/kimageformats/pcx.cpp
  23. +4 −0 src/plugins/kimageformats/pcx.json
  24. +37 −0 src/plugins/kimageformats/pcx_p.h
  25. +474 −0 src/plugins/kimageformats/pic.cpp
  26. +4 −0 src/plugins/kimageformats/pic.json
  27. +202 −0 src/plugins/kimageformats/pic_p.h
  28. +322 −0 src/plugins/kimageformats/psd.cpp
  29. +4 −0 src/plugins/kimageformats/psd.json
  30. +37 −0 src/plugins/kimageformats/psd_p.h
  31. +304 −0 src/plugins/kimageformats/ras.cpp
  32. +4 −0 src/plugins/kimageformats/ras.json
  33. +38 −0 src/plugins/kimageformats/ras_p.h
  34. +739 −0 src/plugins/kimageformats/rgb.cpp
  35. +4 −0 src/plugins/kimageformats/rgb.json
  36. +38 −0 src/plugins/kimageformats/rgb_p.h
  37. +223 −0 src/plugins/kimageformats/rle_p.h
  38. +448 −0 src/plugins/kimageformats/tga.cpp
  39. +4 −0 src/plugins/kimageformats/tga.json
  40. +37 −0 src/plugins/kimageformats/tga_p.h
  41. +2,712 −0 src/plugins/kimageformats/xcf.cpp
  42. +4 −0 src/plugins/kimageformats/xcf.json
  43. +49 −0 src/plugins/kimageformats/xcf_p.h
  44. +9 −0 src/resource/text/aboutKImageFormats.html
  45. +1 −0 src/resource/vookiimageviewer.qrc
  46. +3 −0 src/ui/AboutComponentsDialog.cpp
  47. +5 −0 src/ui/forms/AboutComponentsDialog.ui
  48. +138 −21 src/ui/forms/AboutSupportedFormatsDialog.ui

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -106,3 +106,42 @@ qt5_use_modules(VookiImageViewer
Widgets)
TARGET_LINK_LIBRARIES(VookiImageViewer ${OS_LIBS})
#### Plugins ####
#
# Photoshop documents (psd)
#
add_library(vooki_kimg_psd MODULE ../../src/plugins/kimageformats/psd.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_psd Qt5::Gui)
# Gimp (xcf)
#
add_library(vooki_kimg_xcf MODULE ../../src/plugins/kimageformats/xcf.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_xcf Qt5::Gui)
# Personal Computer Exchange (pcx)
#
add_library(vooki_kimg_pcx MODULE ../../src/plugins/kimageformats/pcx.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_pcx Qt5::Gui)
# Targa (tga): supports more formats than Qt's version
#
add_library(vooki_kimg_tga MODULE ../../src/plugins/kimageformats/tga.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_tga Qt5::Gui)
# Sun Raster (ras)
#
add_library(vooki_kimg_ras MODULE ../../src/plugins/kimageformats/ras.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_ras Qt5::Gui)
# Softimage PIC (pic)
#
add_library(vooki_kimg_pic MODULE ../../src/plugins/kimageformats/pic.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_pic Qt5::Gui)
# SGI images (rgb, rgba, sgi, bw)
#
add_library(vooki_kimg_rgb MODULE ../../src/plugins/kimageformats/rgb.cpp)
TARGET_LINK_LIBRARIES(vooki_kimg_rgb Qt5::Gui)
@@ -1,3 +1,9 @@
#!/bin/sh
target=VookiImageViewer.app/Contents/PlugIns/imageformats/
~/Qt/5.9.1/clang_64/bin/macdeployqt build/VookiImageViewer.app -always-overwrite
cd build
cp -f libvooki_kimg_pcx.so libvooki_kimg_pic.so libvooki_kimg_psd.so libvooki_kimg_ras.so libvooki_kimg_rgb.so libvooki_kimg_tga.so libvooki_kimg_xcf.so $target
cp -f ../../../../src/plugins/kimageformats/psd.json ../../../../src/plugins/kimageformats/tga.json ../../../../src/plugins/kimageformats/pcx.json ../../../../src/plugins/kimageformats/ras.json ../../../../src/plugins/kimageformats/xcf.json ../../../../src/plugins/kimageformats/pic.json ../../../../src/plugins/kimageformats/rgb.json $target
@@ -50,6 +50,15 @@
<string>webp</string>
<string>tga</string>
<string>wbmp</string>
<string>pcx</string>
<string>pic</string>
<string>psd</string>
<string>ras</string>
<string>rgb</string>
<string>rgba</string>
<string>bw</string>
<string>sgi</string>
<string>xcf</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
@@ -0,0 +1,15 @@
Sirtaj Singh Kang <taj@kde.org> -- kimgio and jpeg, tiff, png, krl readers
Dirk Schoenberger <> -- eps, netpbm readers
Torben Weis <weis@kde.org> -- XV format reader/writer
Thomas Tanghus <tanghus@kde.org> -- PNG writer
Antonio Larossa <larossa@kde.org> -- initial version of KRL reader
Sven Wiegand <SWiegand@tfh-berlin.de> -- eps output filter (from KSnapshot)
Dominik Seichter <domseichter@web.de> -- TGA format read/write support
Nadeem Hasan <nhasan@kde.org> -- PCX format read/write support
Melchior Franz <mfranz@kde.org> -- SGI format read/write support, port of XCF qimgio
Allen Barnett <allen@lignumcomputing.com> -- XCF format read support (qimgio)
Ignacio Castaño <castano@ludicon.com> -- DDS and PDS format reader.
Christoph Hormann <chris_hormann@gmx.de> -- HDR format read support.
Michael Ritzert <kde@ritzert.de> -- JPEG 2000 format read/write support
Troy Unrau <troy@kde.org> -- Sun RASter read support
œ

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9a13ca6

Please sign in to comment.