logoalt Hacker News

nickjjyesterday at 8:34 PM4 repliesview on HN

Being able to scale an image without losing quality is going to be handy. I always found it odd that scaling down an image now and then scaling it back to its original size 2 seconds later with the same tool resulted in a loss of quality and having to delete the layer, then re-import the image to get the original quality back.

This plugin https://github.com/LinuxBeaver/Gimp_Layer_Effects_Text_Style... also makes adding text effects with GIMP pretty good. This is unrelated to 3.2 but turned out to be a necessity for me.


Replies

cmyk_studentyesterday at 8:41 PM

It's because each transform was "destructive" (like filters use to be by default). What link & vector layers do instead is store a transform matrix, so each transform just updates the matrix instead of actually re-rasterizing the layer each time.

We were hoping to expand that feature to all layer types for 3.2, but we ran out of time to properly test it for release. It'll like be finished for the next minor release.

show 1 reply
Aardwolfyesterday at 10:14 PM

> I always found it odd that scaling down an image now and then scaling it back to its original size 2 seconds later with the same tool resulted in a loss of quality

Maybe it's because I grew up with Paint Shop Pro 6 and such, but that seems completely normal and expected to me

show 1 reply
vunderbayesterday at 8:38 PM

Nice - all actions performed on a layer should retain a hidden "raw original" so we get non-destructive transforms.

enriqutoyesterday at 10:24 PM

> I always found it odd that scaling down an image now and then scaling it back to its original size 2 seconds later with the same tool resulted in a loss of quality

I'm honestly baffled at your surprise... say, if you crop an image, and 2 seconds later you enlarge it to its original size; do you expect to get the inital image back? Or a uniform color padding around your crop?

Scaling is just cropping in the frequency domain. Behaviour should be the same.