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
377 stars 36 forks source link

CLI output name manipulation. #141

Closed bluescan closed 1 year ago

bluescan commented 1 year ago

In practice being able to have some control over the output name is really handy. The basename is the filename without the extension. Add the ability to specify a prefix/suffix string that gets added. Also allow replacement of a substring.

Perhaps something like --outname (-n) prefix=AAA,suffix=BBB,replace=CCC|DDD

bluescan commented 1 year ago

Implemented in 6e797bdc1c7efcbd2066f5638b64523b5200fd7f