mirror of https://github.com/EspoTek/Labrador.git
Convert bitmaps to PNG format
Reduces file size by over 99% for the 3 buffer images.
This commit is contained in:
parent
e8a854ee9b
commit
8bf419a5bd
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 77 B |
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 103 B |
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 95 B |
|
@ -1,8 +1,8 @@
|
||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/bitmap">
|
<qresource prefix="/bitmap">
|
||||||
<file>buffer_0.bmp</file>
|
<file>buffer_0.png</file>
|
||||||
<file>buffer_1.bmp</file>
|
<file>buffer_1.png</file>
|
||||||
<file>buffer_2.bmp</file>
|
<file>buffer_2.png</file>
|
||||||
<file>diagram.png</file>
|
<file>diagram.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -10,13 +10,13 @@ void bufferControl::refreshImage(void){
|
||||||
|
|
||||||
switch(numBuffers){
|
switch(numBuffers){
|
||||||
case 0:
|
case 0:
|
||||||
bufferImage = QPixmap(":/bitmap/buffer_0.bmp");
|
bufferImage = QPixmap(":/bitmap/buffer_0.png");
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
bufferImage = QPixmap(":/bitmap/buffer_1.bmp");
|
bufferImage = QPixmap(":/bitmap/buffer_1.png");
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
bufferImage = QPixmap(":/bitmap/buffer_2.bmp");
|
bufferImage = QPixmap(":/bitmap/buffer_2.png");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue