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

High bit depth processing

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.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

High bit depth processing Partha Bagchi 12 May 18:17
  High bit depth processing Alexandre Prokoudine 12 May 18:30
   High bit depth processing Partha Bagchi 12 May 18:34
    High bit depth processing Alexandre Prokoudine 12 May 18:50
     High bit depth processing Simon Budig 12 May 22:21
      High bit depth processing Partha Bagchi 13 May 02:27
       High bit depth processing Simon Budig 13 May 06:21
Partha Bagchi
2012-05-12 18:17:27 UTC (over 12 years ago)

High bit depth processing

Downloaded the gitmaster from the usual place: https://gimptest.flamingtext.com:9090/ Built it on Windows. Saw the goat-invasion screen. Opened a 16-bit TIFF - and it opened as an 8-bit file. What am I missing?

Thanks! Partha

Alexandre Prokoudine
2012-05-12 18:30:14 UTC (over 12 years ago)

High bit depth processing

On Sat, May 12, 2012 at 10:17 PM, Partha Bagchi wrote:

Downloaded the gitmaster from the usual place: https://gimptest.flamingtext.com:9090/ Built it on Windows. Saw the goat-invasion screen. Opened a 16-bit TIFF - and it opened as an 8-bit file. What am I missing?

http://wiki.gimp.org/index.php/Hacking:Porting_filters_to_GEGL#File_loaders.2Fsavers

Alexandre Prokoudine http://libregraphicsworld.org

Partha Bagchi
2012-05-12 18:34:01 UTC (over 12 years ago)

High bit depth processing

Thanks Alexandre. If I understand the chart, one cannot open 16-bit tiff yet? Which format can be opened in 16-bit?

On Sat, May 12, 2012 at 2:30 PM, Alexandre Prokoudine wrote:

On Sat, May 12, 2012 at 10:17 PM, Partha Bagchi wrote:

Downloaded the gitmaster from the usual place: https://gimptest.flamingtext.com:9090/ Built it on Windows. Saw the goat-invasion screen. Opened a 16-bit TIFF - and it opened as an 8-bit file. What am I missing?

http://wiki.gimp.org/index.php/Hacking:Porting_filters_to_GEGL#File_loaders.2Fsavers

Alexandre Prokoudine http://libregraphicsworld.org
_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list

Alexandre Prokoudine
2012-05-12 18:50:41 UTC (over 12 years ago)

High bit depth processing

On Sat, May 12, 2012 at 10:34 PM, Partha Bagchi wrote:

Thanks Alexandre. If I understand the chart, one cannot open 16-bit tiff yet? Which format can be opened in 16-bit?

16bit PNG can be loaded and saved EXR opens as 32bit float, but is saved with 16bit precision.

Simon already evaluated porting TIFF loader to GEGL, but I couldn't understand a single word through lots of swearing in German, and that's after having studied German since I was a lad :) The general idea, however (if I got it right), is that the file format is messy, so is the original code. In other words, it will take some time to get this done. As usual, patches are welcome.

Alexandre Prokoudine http://libregraphicsworld.org

Simon Budig
2012-05-12 22:21:37 UTC (over 12 years ago)

High bit depth processing

Alexandre Prokoudine (alexandre.prokoudine@gmail.com) wrote:

16bit PNG can be loaded and saved EXR opens as 32bit float, but is saved with 16bit precision.

Also .hdr files are handled by file-gegl as well.

Simon already evaluated porting TIFF loader to GEGL, but I couldn't understand a single word through lots of swearing in German, and that's after having studied German since I was a lad :) The general idea, however (if I got it right), is that the file format is messy, so is the original code. In other words, it will take some time to get this done. As usual, patches are welcome.

Yeah, I did a stab in the general direction of the tiff plugin, but the TIFF library is quite twisted in its ways. I'll have a look at it again, but If someone else wants to take a shot at it please go ahead, I am not too eager... :)

Bye,
Simon

Partha Bagchi
2012-05-13 02:27:45 UTC (over 12 years ago)

High bit depth processing

If it's making you swear using words that Alexandre can't understand, then the code must be elegant indeed. :)

Is there is something one should know about the interaction with gegl for loading tiff or everything is contained in file-tiff-load.c?

On Sat, May 12, 2012 at 6:21 PM, Simon Budig wrote:

Alexandre Prokoudine (alexandre.prokoudine@gmail.com) wrote:

16bit PNG can be loaded and saved EXR opens as 32bit float, but is saved with 16bit precision.

Also .hdr files are handled by file-gegl as well.

Simon already evaluated porting TIFF loader to GEGL, but I couldn't understand a single word through lots of swearing in German, and that's after having studied German since I was a lad :) The general idea, however (if I got it right), is that the file format is messy, so is the original code. In other words, it will take some time to get this done. As usual, patches are welcome.

Yeah, I did a stab in the general direction of the tiff plugin, but the TIFF library is quite twisted in its ways. I'll have a look at it again, but If someone else wants to take a shot at it please go ahead, I am not too eager... :)

Bye,
Simon
--
simon@budig.de http://simon.budig.de/ _______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list

gimp-developer-list mailing list
gimp-developer-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list
Simon Budig
2012-05-13 06:21:10 UTC (over 12 years ago)

High bit depth processing

Partha Bagchi (partha1b@gmail.com) wrote:

Is there is something one should know about the interaction with gegl for loading tiff or everything is contained in file-tiff-load.c?

I have not yet pushed any changes to file-tiff-load.c. But if you want to look at how to use gegl for loading files then have a look at file-png.c. This btw. was a port that was reasonably easy, the trickiest thing being indexed PNGs.

file-gegl.c (EXR/HDR) is interesting as well, since it uses just pure gegl to load the files, i.e. it constructs a graph that provides the image data passed to gimp. Unfortunately this also means that I cannot easily fix the mismatch in the data format for some files in the plugin...

I hope this helps, Simon