LCD RGB-8 Converter

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
(Created page with "Category:Tools ==Action== This tool is intended to convert normal bitmaps into BGC files.<br /> The BGC format is the '''B'''ascom '''G'''raphic '''C'''olor Format.<br />...")
 
 
Line 1: Line 1:
[[Category:Tools]]
+
== Action ==
==Action==
+
  
This tool is intended to convert normal bitmaps into BGC files.<br />
+
This tool is intended to convert normal bitmaps into BGC files.<br/>The BGC format is the '''B'''ascom '''G'''raphic '''C'''olor Format.<br/>This is a special RLE compressed format to save space.<br/><br/>The SHOWPIC statement can display graphic bitmaps.<br/>The color display uses a special RGB8 format.<br/>The LCD converter has the task to convert a normal windows bitmap into a 256-color RGB8 coded format.<br/><br/>When you run the tool you will see the following window&nbsp;:<br/><br/>[[File:Rgb8-converter.png]]<br/><br/>You can use File , Open, to load an image from disk.<br/>Or you can use Edit, Paste, to paste an image from the clipboard.<br/>
The BGC format is the '''B'''ascom '''G'''raphic '''C'''olor Format.<br />
+
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 4px">
This is a special RLE compressed format to save space.<br />
+
{| style="border: solid 2px #000000; border-spacing:0px; border-collapse: collapse" border="1" cellpadding="1" cellspacing="0"
<br />
+
|- style="text-align:left; vertical-align:top"
The SHOWPIC statement can display graphic bitmaps.<br />
+
| style="width:166px; background-color:#ffff99; border: solid 1px #000000" valign="top" bgcolor="#ffff99" width="166" |
The color display uses a special RGB8 format.<br />
+
<span style="font-weight: bold">Option</span>
The LCD converter has the task to convert a normal windows bitmap into a 256-color RGB8 coded format.<br />
+
<br />
+
When you run the tool you will see the following window :<br /><br />
+
[[File:rgb8-converter.png]]<br />
+
<br />
+
You can use File , Open, to load an image from disk.<br />
+
Or you can use Edit, Paste, to paste an image from the clipboard.<br />
+
<br />
+
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 4px;">
+
<table cellspacing="0" cellpadding="1" border="1" style="border: solid 2px #000000; border-spacing:0px; border-collapse: collapse;">
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" bgcolor="#ffff99" style="width:166px; background-color:#ffff99; border: solid 1px #000000;"><p><span style="font-weight: bold;">Option</span></p>
+
</td>
+
<td valign="top" width="476" bgcolor="#ffff99" style="width:476px; background-color:#ffff99; border: solid 1px #000000;"><p><span style="font-weight: bold;">Description</span></p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>File, Open</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Open a graphical file from disk.</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>File, Save, Image</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Save the file as a windows graphical file</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>File, Save, Binary</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Save the BGC file, the file you need with SHOWPIC</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>File, Save , Data Lines</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Save the file as data lines into a text file</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>File, Convert</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Converts the bitmap into a RGB8 bitmap</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>Edit, Bitmap height</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>height of the image. Change it to make the image smaller or larger</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>Edit, Bitmap width</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>width of the image. Change it to make the image wider.</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>Edit, Select All</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Select entire image</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>Edit, Copy</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Copy selection to the clipboard</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>Edit, Paste</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Paste clipboard to the selection. You must have an area selected !</p>
+
</td>
+
</tr>
+
<tr style="text-align:left;vertical-align:top;">
+
<td valign="top" width="166" style="width:166px; border: solid 1px #000000;"><p>Edit, Delete</p>
+
</td>
+
<td valign="top" width="476" style="width:476px; border: solid 1px #000000;"><p>Delete the selected area</p>
+
</td>
+
</tr>
+
</table></div><br />
+
The Output TAB, has an option : Save as RLE. This must be checked. By default it is checked.<br />
+
When you do not want the image to be RLE encoded, you can uncheck this option.<br />
+
<br />
+
The bottom area is used to store the DATA lines.<br />
+
The Color TAB shows the effect on the table inside the color display.<br />
+
When a picture uses a lot of different red colors, you can put the most used into the table.<br />
+
It is well explained in the manuals from display3000.<br />
+
<br />
+
By clicking on the color , you can view which colors are used by the picture.<br />
+
You can match them with the color table.<br />
+
<br />
+
You can download the LCD Converter tool from :
+
[http://www.mcselec.com/index.php?option=com_docman&task=doc_download&gid=168&Itemid=54 LCD Converter tool]
+
  
 +
| style="width:476px;  background-color:#ffff99;  border: solid 1px #000000" valign="top" bgcolor="#ffff99" width="476" |
 +
<span style="font-weight: bold">Description</span>
  
<br />
+
|- style="text-align:left; vertical-align:top"
<br />
+
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
{{Languages}}
+
File, Open
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Open a graphical file from disk.
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
File, Save, Image
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Save the file as a windows graphical file
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
File, Save, Binary
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Save the BGC file, the file you need with SHOWPIC
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
File, Save , Data Lines
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Save the file as data lines into a text file
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
File, Convert
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Converts the bitmap into a RGB8 bitmap
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
Edit, Bitmap height
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
height of the image. Change it to make the image smaller or larger
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
Edit, Bitmap width
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
width of the image. Change it to make the image wider.
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
Edit, Select All
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Select entire image
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
Edit, Copy
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Copy selection to the clipboard
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
Edit, Paste
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Paste clipboard to the selection. You must have an area selected&nbsp;!
 +
 
 +
|- style="text-align:left; vertical-align:top"
 +
| style="width:166px;  border: solid 1px #000000" valign="top" width="166" |
 +
Edit, Delete
 +
 
 +
| style="width:476px;  border: solid 1px #000000" valign="top" width="476" |
 +
Delete the selected area
 +
 
 +
|}
 +
</div><br/>
 +
The Output TAB, has an option&nbsp;: Save as RLE. This must be checked. By default it is checked.<br/>When you do not want the image to be RLE encoded, you can uncheck this option.<br/><br/>The bottom area is used to store the DATA lines.<br/>The Color TAB shows the effect on the table inside the color display.<br/>When a picture uses a lot of different red colors, you can put the most used into the table.<br/>It is well explained in the manuals from display3000.<br/><br/>By clicking on the color , you can view which colors are used by the picture.<br/>You can match them with the color table.<br/><br/>You can download the LCD Converter tool from&nbsp;: [http://www.mcselec.com/index.php?option=com_docman&task=doc_download&gid=168&Itemid=54 LCD Converter tool]
 +
 
 +
<br/><br/><br/>{{Languages}}
 +
 
 +
[[Category:Tools]]

Latest revision as of 21:11, 30 January 2013

Action

This tool is intended to convert normal bitmaps into BGC files.
The BGC format is the Bascom Graphic Color Format.
This is a special RLE compressed format to save space.

The SHOWPIC statement can display graphic bitmaps.
The color display uses a special RGB8 format.
The LCD converter has the task to convert a normal windows bitmap into a 256-color RGB8 coded format.

When you run the tool you will see the following window :

Rgb8-converter.png

You can use File , Open, to load an image from disk.
Or you can use Edit, Paste, to paste an image from the clipboard.

Option

Description

File, Open

Open a graphical file from disk.

File, Save, Image

Save the file as a windows graphical file

File, Save, Binary

Save the BGC file, the file you need with SHOWPIC

File, Save , Data Lines

Save the file as data lines into a text file

File, Convert

Converts the bitmap into a RGB8 bitmap

Edit, Bitmap height

height of the image. Change it to make the image smaller or larger

Edit, Bitmap width

width of the image. Change it to make the image wider.

Edit, Select All

Select entire image

Edit, Copy

Copy selection to the clipboard

Edit, Paste

Paste clipboard to the selection. You must have an area selected !

Edit, Delete

Delete the selected area


The Output TAB, has an option : Save as RLE. This must be checked. By default it is checked.
When you do not want the image to be RLE encoded, you can uncheck this option.

The bottom area is used to store the DATA lines.
The Color TAB shows the effect on the table inside the color display.
When a picture uses a lot of different red colors, you can put the most used into the table.
It is well explained in the manuals from display3000.

By clicking on the color , you can view which colors are used by the picture.
You can match them with the color table.

You can download the LCD Converter tool from : LCD Converter tool




Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language