bluescan / tacentview

An image and texture viewer for tga, png, apng, exr, dds, pvr, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL, and Tacent. Useful for game devs as it displays information like the presence of an alpha channel and querying specific pixels for their colour.
ISC License
344 stars 33 forks source link

Implement cropping #5

Closed bluescan closed 2 years ago

bluescan commented 4 years ago

Nuff said. Should be a simple task.

bluescan commented 4 years ago

Backend tPicture crop function with anchors is working. Not implemented yet in the UI though.

bluescan commented 4 years ago

It works. Design problem tho. Need to be able to move around image while zoomed and have crop-rect fixed to pixel locations so can accurately set extents.