Skip to content

Commit

Permalink
Linux supports webp viewing as well. Multiframe WebPs and alpha chann…
Browse files Browse the repository at this point in the history
…el tested.
  • Loading branch information
bluescan committed Apr 26, 2020
1 parent 6770cc0 commit d2a7341
Show file tree
Hide file tree
Showing 20 changed files with 2,454 additions and 239 deletions.
8 changes: 4 additions & 4 deletions Linux/TacitTexView.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Tristan
Date :=20/04/20
Date :=25/04/20
CodeLitePath :=/home/tristan/.codelite
LinkerName :=/usr/bin/clang++
SharedObjectLinkerName :=/usr/bin/clang++ -shared -fPIC
Expand All @@ -39,9 +39,9 @@ LinkOptions := -pthread
IncludePath := $(IncludeSwitch). $(IncludeSwitch)../Tacent/Modules/System/Inc $(IncludeSwitch)../Tacent/Modules/Foundation/Inc $(IncludeSwitch)../Tacent/Modules/Math/Inc $(IncludeSwitch)../Tacent/Modules/Image/Inc $(IncludeSwitch)../Tacent/Contrib/imgui $(IncludeSwitch)../Tacent/Contrib/imgui/examples $(IncludeSwitch)../Tacent/Contrib/glad/include $(IncludeSwitch)../Tacent/Contrib/glfw/Linux/include $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs := $(LibrarySwitch)Image $(LibrarySwitch)System $(LibrarySwitch)Math $(LibrarySwitch)Foundation $(LibrarySwitch)glfw3 $(LibrarySwitch)dl
ArLibs := "Image" "System" "Math" "Foundation" "glfw3" "dl"
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)../Tacent/Modules/Image/Linux/Release $(LibraryPathSwitch)../Tacent/Modules/System/Linux/Release $(LibraryPathSwitch)../Tacent/Modules/Math/Linux/Release $(LibraryPathSwitch)../Tacent/Modules/Foundation/Linux/Release $(LibraryPathSwitch)../Tacent/Contrib/glfw/Linux/Release
Libs := $(LibrarySwitch)Image $(LibrarySwitch)System $(LibrarySwitch)Math $(LibrarySwitch)Foundation $(LibrarySwitch)glfw3 $(LibrarySwitch)dl $(LibrarySwitch)webp $(LibrarySwitch)webpdemux
ArLibs := "Image" "System" "Math" "Foundation" "glfw3" "dl" "webp" "webpdemux"
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)../Tacent/Contrib/WebP/Linux $(LibraryPathSwitch)../Tacent/Modules/Image/Linux/Release $(LibraryPathSwitch)../Tacent/Modules/System/Linux/Release $(LibraryPathSwitch)../Tacent/Modules/Math/Linux/Release $(LibraryPathSwitch)../Tacent/Modules/Foundation/Linux/Release $(LibraryPathSwitch)../Tacent/Contrib/glfw/Linux/Release

##
## Common variables
Expand Down
3 changes: 3 additions & 0 deletions Linux/TacitTexView.project
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,15 @@
</Compiler>
<Linker Options="-pthread">
<LibraryPath Value="."/>
<LibraryPath Value="../Tacent/Contrib/WebP/Linux"/>
<Library Value="Image"/>
<Library Value="System"/>
<Library Value="Math"/>
<Library Value="Foundation"/>
<Library Value="glfw3"/>
<Library Value="dl"/>
<Library Value="webp"/>
<Library Value="webpdemux"/>
</Linker>
<ResourceCompiler Options=""/>
</GlobalSettings>
Expand Down
2 changes: 1 addition & 1 deletion Linux/deb_template/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Architecture: amd64
Depends: libc6, libstdc++6, libgcc1
Maintainer: [email protected]
Description: Tacit Texture Viewer
A texture viewer and editor for tga, png, exr, dds, gif, hdr, jpg, tiff, and bmp files.
A texture viewer and editor for tga, png, exr, dds, gif, hdr, jpg, tiff, ico, webp, and bmp files.
Uses Dear ImGui, OpenGL, and Tacent. This program is licensed under the ISC licence.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Icon=tacittexview.png
Terminal=false
Type=Application
Categories=Development;
MimeType=image/bmp;image/gif;image/jpg;image/tga;image/png;image/tif;image/exr;image/hdr;image/dds;image/ico;
StartupNotify=false
Keywords=hdr;exr;development;programming;image;viewer;
MimeType=image/bmp;image/gif;image/jpeg;image/tga;image/png;image/tiff;image/exr;image/hdr;image/dds;image/x-icon;image/webp;
image/ico;StartupNotify=false
Keywords=hdr;exr;webp;development;programming;image;viewer;

3 changes: 3 additions & 0 deletions Tacent/Contrib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
!/WebP/Windows/debug-static/x64/lib/*.pdb
!/WebP/Windows/release-static/x64/lib/*.lib
!/WebP/Windows/release-static/x64/lib/*.pdb
!/WebP/Linux/*.a


503 changes: 503 additions & 0 deletions Tacent/Contrib/WebP/Linux/include/decode.h

Large diffs are not rendered by default.

Loading

0 comments on commit d2a7341

Please sign in to comment.