Re: cursor icon hotspots with PNG

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

 



On Mon, 2014-07-14 at 08:35 -0400, Paul Davis wrote:
> does anyone know of any good (i.e. non-hacky) ways to define/provide cursor
> icon hotspots with PNG files, the way one can with various other image
> formats more intended for this purpose?

No, but if you find one, please let me know, we have the
same problem in GIMP.

You could use PNG text text tags and save the PNG with
gdk_pixbuf_savev(), look at

gimp/libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save)

but that would require to hack up rules for generating
the cursor PNGs. I think there is no way without a hack,
you either have them hardcoded in your app and use plain
PNG files, or have them hardcoded in some other place
and generate the PNGs that contain the right text tags.

--Mitch


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux