~ubuntu-branches/ubuntu/vivid/nip2/vivid-proposed

« back to all changes in this revision

Viewing changes to share/nip2/start/Colour.def

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2009-05-12 09:26:46 UTC
  • mfrom: (1.2.11 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090512092646-j8lb1w2x69pvgma4
Tags: 7.18.1-1ubuntu1
* Merge from debian unstable (LP: #375435), remaining changes:
  - debian/control: Also Recommend abrowser

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                action x = conv Image_type.B_W x;
62
62
        }
63
63
 
 
64
        sRGB_item = class
 
65
                Menuaction (_ "_sRGB") (_ "convert to sRGB colourspace") {
 
66
                action x = conv Image_type.sRGB x;
 
67
        }
 
68
 
64
69
        GREY16_item = class
65
70
                Menuaction (_ "_GREY16") (_ "convert to GREY16 colourspace") {
66
71
                action x = conv Image_type.GREY16 x;
67
72
        }
68
73
 
69
 
        sRGB_item = class
70
 
                Menuaction (_ "_sRGB") (_ "convert to sRGB colourspace") {
71
 
                action x = conv Image_type.sRGB x;
72
 
        }
73
 
 
74
74
        RGB16_item = class
75
75
                Menuaction (_ "_RGB16") (_ "convert to RGB16 colourspace") {
76
76
                action x = conv Image_type.RGB16 x;
394
394
        }
395
395
}
396
396
 
 
397
Colour_rad_item = class
 
398
        Menupullright (_ "_Radiance") (_ "convert to and from Radiance packed format") {
 
399
        Unpack_item = class
 
400
                Menuaction (_ "Unpack") 
 
401
                        (_ "unpack Radiance format to float") {
 
402
                action x = map_unary rad2float x;
 
403
        }
 
404
 
 
405
        Pack_item = class
 
406
                Menuaction (_ "Pack") 
 
407
                        (_ "pack 3-band float to Radiance format") {
 
408
                action x = map_unary float2rad x;
 
409
        }
 
410
}
 
411
 
397
412
#separator
398
413
 
399
414
Colour_dE_item = class