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

How to get the data out of boundary in area-filte​r-operatio​ns of GIMP?

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.

How to get the data out of boundary in area-filte​r-operatio​ns of GIMP? Zhang Peixuan 01 Mar 09:07
  How to get the data out of boundary in area-filte​r-operatio​ns of GIMP? Michael Muré 01 Mar 12:43
Zhang Peixuan
2012-03-01 09:07:28 UTC (almost 13 years ago)

How to get the data out of boundary in area-filte​r-operatio​ns of GIMP?

---
- ! "Hello all,\n\n\n\nIn GIMP,the area-filter-operations always get more pixel data out of the\ninput buffer's extent, then output the processed data.\n\nSo, how the pixel datas out of extent are gotten in gegl-buffer-set and\ngegl-buffer-get ,maybe they are all set 0x00, or another setting method??\n\nsuch as:\n\n gegl_buffer_get(input_buffer, 1.0, src_rect, format,\nin_data,GEGL_AUTO_ROWSTRIDE);\n\nif src_rect is larger than input_buffer->extent ,what data will be stored\nin in_data? What is the machanism?\n\n\n\nNow our progress is slow ,because of the problem. So,can anyone help us\nexplain it?\n\nWe're so glad to receive any advice from you!\n\n\n\nThanks a lot!"

Michael Muré
2012-03-01 12:43:05 UTC (almost 13 years ago)

How to get the data out of boundary in area-filte​r-operatio​ns of GIMP?

---
- ! "Hi,\n\nAs far as I know, the returned value is currently set to 0x00, but you can\ncheck that easily.\n\nI did some work to be able choose this behavior, but it's not ended yet.\nThis work in the abyss branch in git. More details here:\nhttps://mail.gnome.org/archives/gegl-developer-list/2011-October/msg00003.html\n\nIf you would like to complete this work, please go ahead.\n\nBest Regards,\n\n2012/3/1 Zhang Peixuan \n\n> Hello all,\n>\n>\n>\n> In GIMP,the area-filter-operations always get more pixel data out of the\n> input buffer's extent, then output the processed data.\n>\n> So, how the pixel datas out of extent are gotten in gegl-buffer-set and\n> gegl-buffer-get ,maybe they are all set 0x00, or another setting method??\n>\n> such as:\n>\n> gegl_buffer_get(input_buffer, 1.0, src_rect, format,\n> in_data,GEGL_AUTO_ROWSTRIDE);\n>\n> if src_rect is larger than input_buffer->extent ,what data will be stored\n> in in_data? What is the machanism?\n>\n>\n>\n> Now our progress is slow ,because of the problem. So,can anyone help us\n> explain it?\n>\n> We're so glad to receive any advice from you!\n>\n>\n>\n> Thanks a lot!\n>\n> _______________________________________________\n> gimp-developer-list mailing list\n> gimp-developer-list@gnome.org\n> http://mail.gnome.org/mailman/listinfo/gimp-developer-list\n>\n>\n\n\n-- \nMichael"