From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-07-29 02:01:11
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified Summary: add GdkImage support Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=166750) View: https://bugzilla.gnome.org/attachment.cgi?id=166750 Review: https://bugzilla.gnome.org/review?bug=625538&attachment=166750 .xs and .t This is a few lines to complete GdkImage support. An advantage of an image over a pixbuf is that you can fetch actual pixel values from pixmaps or windows. The GdkImage object itself already arises in the wrappings, the code here is new() for it, and operations like get_pixel() and put_pixel(). -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-11-23 21:34:49
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaf...@gm... --- Comment #1 from Torsten Schoenfeld <kaf...@gm...> 2010-11-23 21:34:37 UTC --- The docs say that GdkImage "has now been superceded to a large extent by the much more flexible GdkRGB functions." So is GdkImage really better for your use case? If so, then I think the patch can go in. Just one minor thing: can you name the accessors "get_foo" and implement them as is done in xs/GtkSelection.xs? That is, use the "get_foo" methods if available, otherwise use struct access. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-11-23 22:12:47
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified --- Comment #2 from Kevin Ryde <us...@zi...> 2010-11-23 22:12:33 UTC --- The access to pixel values is the key bit. I believe GdkImage is the only way to fetch a pixel value as such from a pixmap/bitmap/window. If working with big bitmaps you might also appreciate having the bits packed into bytes instead of pixbuf 3-bytes per bit. There's no get_foo() accessors apart from the get_colormap() one. I'd suspect there probably won't be in the future, and that it might be unwise to anticipate the names. (Notwithstanding the general gtk tendency to make code bigger and slower by putting access through functions instead of fields! :-) -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-11-24 19:49:59
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified --- Comment #3 from Torsten Schoenfeld <kaf...@gm...> 2010-11-24 19:49:45 UTC --- The accessors were added in 2.22: <http://library.gnome.org/devel/gdk/2.22/gdk-Images.html>. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-11-27 22:39:33
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified Kevin Ryde <user42> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166750|0 |1 is obsolete| | --- Comment #4 from Kevin Ryde <us...@zi...> 2010-11-27 22:39:18 UTC --- Created an attachment (id=175389) View: https://bugzilla.gnome.org/attachment.cgi?id=175389 Review: https://bugzilla.gnome.org/review?bug=625538&attachment=175389 patch and test cases This one with the get funcs. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-12-12 13:40:33
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified --- Comment #5 from Torsten Schoenfeld <kaf...@gm...> 2010-12-12 13:40:20 UTC --- (In reply to comment #4) > This one with the get funcs. Looks like this patch doesn't contain the new files t/GdkImage.t and xs/GdkImage.xs. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-12-13 22:32:47
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified Kevin Ryde <user42> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175389|0 |1 is obsolete| | --- Comment #6 from Kevin Ryde <us...@zi...> 2010-12-13 22:32:35 UTC --- Created an attachment (id=176376) View: https://bugzilla.gnome.org/attachment.cgi?id=176376 Review: https://bugzilla.gnome.org/review?bug=625538&attachment=176376 patch and test cases Ah dear, the git checkin going wrong. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-12-21 21:44:23
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #7 from Torsten Schoenfeld <kaf...@gm...> 2010-12-21 21:44:10 UTC --- Magnificent patch. Thanks. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |
From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-12-21 21:44:24
|
https://bugzilla.gnome.org/show_bug.cgi?id=625538 gnome-perl | Gtk2 | unspecified Torsten Schoenfeld <kaffeetisch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #176376|none |committed status| | -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |