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

assets in the high bith depth age

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.

9 of 9 messages available
Toggle history

Please log in to manage your subscriptions.

assets in the high bith depth age Alexandre Prokoudine 09 Feb 18:55
  assets in the high bith depth age Boudewijn Rempt 09 Feb 19:02
  assets in the high bith depth age Ofnuts 09 Feb 20:45
   assets in the high bith depth age Joao S. O. Bueno 10 Feb 14:01
    assets in the high bith depth age Ofnuts 10 Feb 21:25
     assets in the high bith depth age Alexandre Prokoudine 10 Feb 22:48
  assets in the high bith depth age Joao S. O. Bueno 20 May 13:59
   assets in the high bith depth age Michael Schumacher 20 May 23:41
   assets in the high bith depth age Liam R E Quin 22 May 21:55
Alexandre Prokoudine
2014-02-09 18:55:25 UTC (almost 11 years ago)

assets in the high bith depth age

Hi,

I'm curious if we have a plan for assets in v2.10 and onwards now that 16/32 bit is possible. Color palettes and gradients are still based on raw 8bit RGB values, and pattern files are 8bit as well.

FilmGIMP/Cinepaint "fixed" that in the past by converting everything to 16bit integer (afaik, integer), but I'm not sure if that's such a good idea.

Some things to consider, in no particular order:

- IMO, ideally, stock color palettes should be using a linear device-independent color space (some sort of LCh?); - it should be possible to use palettes that rely on arbitrary color models (RGB, LAB) to make paint vendors happy; - we still need to solve the i18n issue that was raised recently (non-translatable palettes/colors/etc. names).

In my opinion, a sensible way to approach that would be using an already available, but somewhat forgotten file format devised by Olivier Berten during his work on SwatchBooker:

http://selapa.net/swatchbooker/

To reiterate my earlier email to create@, the benefits of this file format are:

- simple combination of XML + ZIP - (nearly) any color model + optional mapping to an embedded ICC profile - flat colors and gradients supported - spot colors supported
- i18n-ized names of all metadata fields and color names

There is no other file format that would provide the same set of features for us, free or non-free:

http://www.selapa.net/swatches/colors/fileformats.php

So the questions are:

- Is changing the assets file format something we need to do for 2.10 (or maybe at all)?
- Is the SwatchBooker's file format right for us? - do we actually have resources to make the switch?

Opinions?

Alexandre

Boudewijn Rempt
2014-02-09 19:02:11 UTC (almost 11 years ago)

assets in the high bith depth age

On Sun, 9 Feb 2014, Alexandre Prokoudine wrote:

Hi,

I'm curious if we have a plan for assets in v2.10 and onwards now that 16/32 bit is possible. Color palettes and gradients are still based on raw 8bit RGB values, and pattern files are 8bit as well.

Jumping in sideways... I'm getting interested in this as well. The current resource file definitions, which we (that is Krita) mostly use, we just choose to make sure we were compatible with gimp, and they are a bit limited.

FilmGIMP/Cinepaint "fixed" that in the past by converting everything to 16bit integer (afaik, integer), but I'm not sure if that's such a good idea.

I'm sure it isn't :-) There's the same limitations, except for that one tiny difference.

Some things to consider, in no particular order:

- IMO, ideally, stock color palettes should be using a linear device-independent color space (some sort of LCh?); - it should be possible to use palettes that rely on arbitrary color models (RGB, LAB) to make paint vendors happy; - we still need to solve the i18n issue that was raised recently (non-translatable palettes/colors/etc. names).

Three times yes.

In my opinion, a sensible way to approach that would be using an already available, but somewhat forgotten file format devised by Olivier Berten during his work on SwatchBooker:

http://selapa.net/swatchbooker/

To reiterate my earlier email to create@, the benefits of this file format are:

- simple combination of XML + ZIP - (nearly) any color model + optional mapping to an embedded ICC profile - flat colors and gradients supported - spot colors supported
- i18n-ized names of all metadata fields and color names

There is no other file format that would provide the same set of features for us, free or non-free:

http://www.selapa.net/swatches/colors/fileformats.php

So the questions are:

- Is changing the assets file format something we need to do for 2.10 (or maybe at all)?
- Is the SwatchBooker's file format right for us? - do we actually have resources to make the switch?

I cannpt answer for GIMP, obviously, but for me, one of the reasons I didn't put time into a switch is that I didn't think any other relevant (that is, free) app would follow suit. Resources for Krita are stretched as well, and one of the big issues is creating software that can create resources in the new format, but I really would like to leave the twentieth century and get current...

Boud

(Who needs to find a way to work on Krita's gradient editor anyway.)

Ofnuts
2014-02-09 20:45:33 UTC (almost 11 years ago)

assets in the high bith depth age

On 02/09/2014 07:55 PM, Alexandre Prokoudine wrote:

Hi,

I'm curious if we have a plan for assets in v2.10 and onwards now that 16/32 bit is possible. Color palettes and gradients are still based on raw 8bit RGB values, and pattern files are 8bit as well.

FilmGIMP/Cinepaint "fixed" that in the past by converting everything to 16bit integer (afaik, integer), but I'm not sure if that's such a good idea.

Some things to consider, in no particular order:

- IMO, ideally, stock color palettes should be using a linear device-independent color space (some sort of LCh?); - it should be possible to use palettes that rely on arbitrary color models (RGB, LAB) to make paint vendors happy; - we still need to solve the i18n issue that was raised recently (non-translatable palettes/colors/etc. names).

In my opinion, a sensible way to approach that would be using an already available, but somewhat forgotten file format devised by Olivier Berten during his work on SwatchBooker:

http://selapa.net/swatchbooker/

To reiterate my earlier email to create@, the benefits of this file format are:

- simple combination of XML + ZIP - (nearly) any color model + optional mapping to an embedded ICC profile - flat colors and gradients supported - spot colors supported
- i18n-ized names of all metadata fields and color names

There is no other file format that would provide the same set of features for us, free or non-free:

http://www.selapa.net/swatches/colors/fileformats.php

So the questions are:

- Is changing the assets file format something we need to do for 2.10 (or maybe at all)?
- Is the SwatchBooker's file format right for us? - do we actually have resources to make the switch?

Opinions?

Yes, that seems necessary.

But I don't like much how i18n is handled in the SwatchBooker format. I don't think the file should contain the names in multiple languages. Most resources distributed outside of Gimp (DeviantArt, etc...) are by isolated authors, and I would not expect their resources to be tagged in more than two or three languages (English plus their native languages). I18N support is done by users, and that would mean making a local version of the file to display the file in the user's language. I would think a single name in the file, remapped using a locale-dependent translation file (one in /usr/share on in the user's profile) would let users rename resources more efficiently. This method could also be used to display localized names for other resources (brushes, patterns...).

Joao S. O. Bueno
2014-02-10 14:01:52 UTC (almost 11 years ago)

assets in the high bith depth age

I agree with the file-format,
ad I don't think keeping the i18n's in file is a bad thing to do.

The idea of having a file as a "pill" containing all the translations, and such seens much
more tasty than having to distribute separated i18n resources when I publish, say, a color palette on my blog.

Distributors of third party files are welcome to accept downstream contributions to the assets
they create, or license their works in a way to allow for the creation of new versions,
containing more languages.

However, one option does not exclude the other - the use of the localization could be made in a way
to use either built-in translations for colors/metadata or look for them in an external location
if the former way defaults. (then one could have the best of both Worlds)

js -> wrote:

On 02/09/2014 07:55 PM, Alexandre Prokoudine wrote:

Hi,

I'm curious if we have a plan for assets in v2.10 and onwards now that 16/32 bit is possible. Color palettes and gradients are still based on raw 8bit RGB values, and pattern files are 8bit as well.

FilmGIMP/Cinepaint "fixed" that in the past by converting everything to 16bit integer (afaik, integer), but I'm not sure if that's such a good idea.

Some things to consider, in no particular order:

- IMO, ideally, stock color palettes should be using a linear device-independent color space (some sort of LCh?); - it should be possible to use palettes that rely on arbitrary color models (RGB, LAB) to make paint vendors happy; - we still need to solve the i18n issue that was raised recently (non-translatable palettes/colors/etc. names).

In my opinion, a sensible way to approach that would be using an already available, but somewhat forgotten file format devised by Olivier Berten during his work on SwatchBooker:

http://selapa.net/swatchbooker/

To reiterate my earlier email to create@, the benefits of this file format are:

- simple combination of XML + ZIP - (nearly) any color model + optional mapping to an embedded ICC profile - flat colors and gradients supported - spot colors supported
- i18n-ized names of all metadata fields and color names

There is no other file format that would provide the same set of features for us, free or non-free:

http://www.selapa.net/swatches/colors/fileformats.php

So the questions are:

- Is changing the assets file format something we need to do for 2.10 (or maybe at all)?
- Is the SwatchBooker's file format right for us? - do we actually have resources to make the switch?

Opinions?

Yes, that seems necessary.

But I don't like much how i18n is handled in the SwatchBooker format. I don't think the file should contain the names in multiple languages. Most resources distributed outside of Gimp (DeviantArt, etc...) are by isolated authors, and I would not expect their resources to be tagged in more than two or three languages (English plus their native languages). I18N support is done by users, and that would mean making a local version of the file to display the file in the user's language. I would think a single name in the file, remapped using a locale-dependent translation file (one in /usr/share on in the user's profile) would let users rename resources more efficiently. This method could also be used to display localized names for other resources (brushes, patterns...).

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Ofnuts
2014-02-10 21:25:36 UTC (almost 11 years ago)

assets in the high bith depth age

On 02/10/2014 03:01 PM, Joao S. O. Bueno wrote:

I agree with the file-format,
ad I don't think keeping the i18n's in file is a bad thing to do.

The idea of having a file as a "pill" containing all the translations, and such seens much
more tasty than having to distribute separated i18n resources when I publish, say, a color palette on my blog.

I doubt that you'll ever have all the translations. Do you speak chinese, basque, irish? In my view, the "external" I18N is easier to handle for the standard resources (resources are not modified by translations...) and allows roll-your-own I18N when the author doesn't speak your language.

Distributors of third party files are welcome to accept downstream contributions to the assets
they create, or license their works in a way to allow for the creation of new versions,
containing more languages.

And this quickly becomes a maintenance nightmare :)

However, one option does not exclude the other - the use of the localization could be made in a way
to use either built-in translations for colors/metadata or look for them in an external location
if the former way defaults. (then one could have the best of both Worlds)

Amen to that.

Alexandre Prokoudine
2014-02-10 22:48:08 UTC (almost 11 years ago)

assets in the high bith depth age

On Tue, Feb 11, 2014 at 1:25 AM, Ofnuts wrote:

On 02/10/2014 03:01 PM, Joao S. O. Bueno wrote:

I agree with the file-format,
ad I don't think keeping the i18n's in file is a bad thing to do.

The idea of having a file as a "pill" containing all the translations, and such seens much
more tasty than having to distribute separated i18n resources when I publish, say, a color palette on my blog.

I doubt that you'll ever have all the translations. Do you speak chinese, basque, irish? In my view, the "external" I18N is easier to handle for the standard resources (resources are not modified by translations...) and allows roll-your-own I18N when the author doesn't speak your language.

I'm afraid we are arguing over technicalities :)

Since swatches and gradients are both handled by a single file format in SwatchBooker, you could just have po-assets/LANG.po that would get the contents of .sbz files, and then another script would write the updated data back into the .sbz files. Or you could carry around .mo files in binary builds.

My point is that right now this is not essential. We lived without i18n, and it's something we could decide later. There are ways to deal with this without even breaking the file format.

But we cannot exactly live with 8bit raw RGB data in GEGL-based GIMP, and 2.10 is the milestone when this really ought to be solved.

So what I'm saying is whether we have a general agreement that

a) things have to change; b) SwatchBooker's file format is the way to go.

If there's an agreement on a) and b), then it's simply a TODO material: http://wiki.gimp.org/index.php/Hacking:TODO. Which means we would be officially looking for contributors to work on that.

Let's make the next step :)

Alexandre

Joao S. O. Bueno
2014-05-20 13:59:12 UTC (over 10 years ago)

assets in the high bith depth age

Bringing this topic back, since I think it matters - and more people could be dealing with this than striclty fidling at the core;

On 9 February 2014 16:55, Alexandre Prokoudine wrote:

Hi,

I'm curious if we have a plan for assets in v2.10 and onwards now that 16/32 bit is possible. Color palettes and gradients are still based on raw 8bit RGB values, and pattern files are 8bit as well.

FilmGIMP/Cinepaint "fixed" that in the past by converting everything to 16bit integer (afaik, integer), but I'm not sure if that's such a good idea.

Some things to consider, in no particular order:

- IMO, ideally, stock color palettes should be using a linear device-independent color space (some sort of LCh?); - it should be possible to use palettes that rely on arbitrary color models (RGB, LAB) to make paint vendors happy; - we still need to solve the i18n issue that was raised recently (non-translatable palettes/colors/etc. names).

In my opinion, a sensible way to approach that would be using an already available, but somewhat forgotten file format devised by Olivier Berten during his work on SwatchBooker:

http://selapa.net/swatchbooker/

To reiterate my earlier email to create@, the benefits of this file format are:

- simple combination of XML + ZIP - (nearly) any color model + optional mapping to an embedded ICC profile - flat colors and gradients supported - spot colors supported
- i18n-ized names of all metadata fields and color names

There is no other file format that would provide the same set of features for us, free or non-free:

http://www.selapa.net/swatches/colors/fileformats.php

So the questions are:

- Is changing the assets file format something we need to do for 2.10 (or maybe at all)?
- Is the SwatchBooker's file format right for us? - do we actually have resources to make the switch?

Opinions?

we could start talking more about evolving the format.

I pǘe been talking with some heavy users (for professional use, even) - and one thing they miss is more consistency on asst handling (you can rename a palette or a gradient inline in the gradient list dialog, but not a pattern or a brush, for example).

Alexandre
_______________________________________________

Michael Schumacher
2014-05-20 23:41:45 UTC (over 10 years ago)

assets in the high bith depth age

On 20.05.2014 15:59, Joao S. O. Bueno wrote:

I pǘe been talking with some heavy users (for professional use, even) - and one thing they miss is more consistency on asst handling (you can rename a palette or a gradient inline in the gradient list dialog, but not a pattern or a brush, for example).

We got an old bug report about that: https://bugzilla.gnome.org/show_bug.cgi?id=343090

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
Liam R E Quin
2014-05-22 21:55:36 UTC (over 10 years ago)

assets in the high bith depth age

On Tue, 2014-05-20 at 10:59 -0300, Joao S. O. Bueno wrote: [...]

I pǘe been talking with some heavy users (for professional use, even) - and one thing they miss is more consistency on asst handling (you can rename a palette or a gradient inline in the gradient list dialog, but not a pattern or a brush, for example).

Yes. I'd love to see "project files" or "project folders" that could contain per-project preferences and resources (brushes, gradients, fonts, images, default export and open folder)...

and the ability to work with multiple active projects!

but that's wanting to dance before we have feet.

Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml