Re: cursor icon hotspots with PNG
- From: John Emmas <john creativepost co uk>
- To: gtk-list <gtk-list gnome org>
- Subject: Re: cursor icon hotspots with PNG
- Date: Tue, 15 Jul 2014 07:09:14 +0100
On 14/07/2014 13:35, 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?
Hi Paul,
I'm not massively familiar with PNG but according to its spec, the
ancillary chunk contains a couple of 'text' fields which can be used for
storing name/value pairs. It would essentially be private data of
course (i.e. non-portable) but would that help you at all? (if the data
isn't present you simply assume 0,0 as the hotspot).
According to Wikipedia there have been several extensions to the
original PNG format but AFAICT none of them seem to offer this, which is
quite weird...
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]