Skip to content

Commit

Permalink
Detection of 2-byte per component (16-bit) png files. Tacent change -…
Browse files Browse the repository at this point in the history
…- just had to update cmakelists to grab latest.
  • Loading branch information
bluescan committed Jan 10, 2024
1 parent 6006aa0 commit 66601aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ FetchContent_Declare(
tacent
GIT_REPOSITORY https://github.com/bluescan/tacent.git
# GIT_TAG v0.8.17
GIT_TAG 35460ad98b83075217a6aa9259c88b6831ed5660
# GIT_TAG 35460ad98b83075217a6aa9259c88b6831ed5660
)
FetchContent_MakeAvailable(tacent)

Expand Down
2 changes: 1 addition & 1 deletion Src/Details.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void Viewer::ShowImageDetailsOverlay(bool* popen, float x, float y, float w, flo
if (info.IsValid())
{
ImGui::Text("Size: %dx%d", CurrImage->GetWidth(), CurrImage->GetHeight());
ImGui::Text("Format: %s", tImage::tGetPixelFormatName(info.SrcPixelFormat));
ImGui::Text("Frmt: %s", tImage::tGetPixelFormatName(info.SrcPixelFormat));
tString bppStr("--");
int bpp = tImage::tGetBitsPerPixel(info.SrcPixelFormat);
if (bpp > 0)
Expand Down

0 comments on commit 66601aa

Please sign in to comment.