blob: 98523f647e5a8979ef432ed6ede9b898e3ddca42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
If I have a png, how do I build it into nvidia-settings?
- Open the file in gimp:
- make sure the image is in RGB mode (check IMAGE-> Mode -> RGB)
- select the filetype as C-Source, and name the file <something>.h
- click OK, on the subsequent option page, select the following:
[ ] Save Comment to File
[*] Use Glib Types (guint8*)
[ ] Use Macros instead of Struct
[*] use 1 Byte Run-Length-Encoding
[ ] Save alpha Channel (RGBA/RGB)
Opacity: 100.0
- modify the header file, removing the struct declaration,
following the convention in other header files, like
big_banner_penguin.h.
|