RSS/Atom feed Twitter
Site is read-only, email is disabled

gegl-buffer-load

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

gegl-buffer-load Geert Jordaens 22 May 20:51
  gegl-buffer-load Øyvind Kolås 22 May 22:40
Geert Jordaens
2008-05-22 20:51:27 UTC (over 16 years ago)

gegl-buffer-load

I was browsing trough the buffer coding in svn and noticed following in *gegl-buffer-load.c *Is it normal that the width and height parameters are inversed?

GeglBuffer * *gegl_buffer_load* (*const* gchar *path) {
...
ret = g_object_new (GEGL_TYPE_BUFFER, *"format"*, info->format, *"tile-width"*, info->header.tile_width, *"tile-height"*, info->header.tile_height, *"height"*, info->header.width, *"width"*, info->header.height, *"path"*, path, NULL);
...
}

Øyvind Kolås
2008-05-22 22:40:22 UTC (over 16 years ago)

gegl-buffer-load

On Thu, May 22, 2008 at 7:51 PM, Geert Jordaens wrote:

I was browsing trough the buffer coding in svn and noticed following in gegl-buffer-load.c
Is it normal that the width and height parameters are inversed?

That is a coding/refactoring mistake that has not been chaugt, thanks.

GeglBuffer *
gegl_buffer_load (const gchar *path) {

Fixed in svn.

/Øyvind K.