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>
|
||||
<qresource prefix="/bitmap">
|
||||
<file>buffer_0.bmp</file>
|
||||
<file>buffer_1.bmp</file>
|
||||
<file>buffer_2.bmp</file>
|
||||
<file>buffer_0.png</file>
|
||||
<file>buffer_1.png</file>
|
||||
<file>buffer_2.png</file>
|
||||
<file>diagram.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -10,13 +10,13 @@ void bufferControl::refreshImage(void){
|
|||
|
||||
switch(numBuffers){
|
||||
case 0:
|
||||
bufferImage = QPixmap(":/bitmap/buffer_0.bmp");
|
||||
bufferImage = QPixmap(":/bitmap/buffer_0.png");
|
||||
break;
|
||||
case 1:
|
||||
bufferImage = QPixmap(":/bitmap/buffer_1.bmp");
|
||||
bufferImage = QPixmap(":/bitmap/buffer_1.png");
|
||||
break;
|
||||
case 2:
|
||||
bufferImage = QPixmap(":/bitmap/buffer_2.bmp");
|
||||
bufferImage = QPixmap(":/bitmap/buffer_2.png");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue