Re: Enlarge image canvas with gimp_image_resize procedure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, what’s the name of the function that grows the boundaries?





Ale





Da: Michael Henning
Data invio: ‎venerdì‎ ‎28‎ ‎febbraio‎ ‎2014 ‎03‎:‎02
A: Alessandro Francesconi
Cc: gimp-developer-list@xxxxxxxxx





Are you also growing the layer boundaries? If you grow the canvas, but
not the layer boundaries, you won't be able to draw on the new canvas
area.

  -- drawoc

On Thu, Feb 27, 2014 at 4:53 AM, Alessandro Francesconi
<alessandrofrancesconi@xxxxxxx> wrote:
> I need to enlarge the area of an image using one of the available GIMP's procedures. So, instead of using the GIMP's graphical interface and this tool http://docs.gimp.org/en/gimp-image-resize.html, I want to be able to have the same effects on a C code.
>
>
> The function that should be called is this one, right? http://oldhome.schmorp.de/marc/pdb/gimp_image_resize.html
>
>
> But it works when I need to shrink the canvas: on a 640x480 image, if I input smaller values the canvas is actually cut. Instead, if I want to add a 20px transparent border along the area (so I type 680 and 520 px, also with consistent offset values), the function just returns the original image.
>
>
> How does it work? Thanks
>
> Ale
> _______________________________________________
> gimp-developer-list mailing list
> List address:    gimp-developer-list@xxxxxxxxx
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list





[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux