Closed i30817 closed 9 months ago
Yeah, apparently it had been unused for a while. Apologies for the confusion. I removed any references to it in https://github.com/atanunq/viu/commit/15f9f00356275ff212ff98b2d30af8c3a761c74f but that's still not in a tagged version
Why remove it, instead of fixing? I think it's a cool feature.
It has little point to be in the application, since like i've shown above, you can just invert, save to memory as 'png' and stream with a image library and a pipe, and if you 'needed' something like this it's likely you'd need a script anyway. If you're doing image manipulation, it's likely you'd need 'more' than just this feature (in my case i do a '| |E' type layout with 1 column box image and two screenshots on top of eachother on the side and different color border depending on if the images are 'new' or not - there is no way that viu would support that with just switches, certainly not without unnecessary loss of quality from repeated resizes).
Viu is not turning into imagemagik any time soon, and it's probably better for it that way. Separation of concerns.
At least for random pngs.
testcase: