Convert bitmaps to PNG format

Reduces file size by over 99% for the 3 buffer images.
This commit is contained in:
Kyle Guinn 2021-11-13 18:15:41 -06:00
parent e8a854ee9b
commit 8bf419a5bd
8 changed files with 6 additions and 6 deletions

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

View File

@ -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>

View File

@ -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;
}