Hi-

I am writing a c plugin to scale a layer.  (This is much as an
exercise for me as anything).

I have looked at a few examples and they handle things differently....

- Create a new image with a new layer the new size
- Create a new layer in the existing image just above the input layer
- Create a new layer in the existing image just above the input layer
and delete the input layer
- Initialize the input pixel region then change the input layer's size
and push the output pixel region into the resized input layer

- change the image canvass to match the resized layer?

What would a suggest approach be for a plugin?

Thanks,

-Rob A.
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to