RAiO Image Tool 操作说明 Version 1.0 July 26, 2016 RAiO Technology Inc. Copyright RAiO Technology Inc. 2013 RAiO TECHNOLOGY INC. www.raio.com.tw
Revise History Version Date Description 0.1 September 01, 2014 Initial Release 0.2 February 2, 2015 Add Chapter 3 & 4 1.0 July 26, 2016 Modify Chapter 3 RAiO TECHNOLOGY INC. 2/18 www.raio.com.tw
Chapter Contents Page 1. 转换 BMP 或 JPG 影像为二进制文件档案 (binary file) 4 2. 转换 BMP 或 JPG 影像为 C 语言程序档案 (**.h) 9 3. 转换 PNG 影像 ( 含有透明度 ) 为二进制文件档案 (binary file) 13 4. 转换 graphic cursor 影像档案为二进制文件档案 (binary file) 或 C 语言程序档案 (*.h) 16 操作此软件前的注意事项 1. 此软件支持操作系统 Windows XP, Windows 7, Windows 8.1, Windows 10 2. 使用此软件前, 计算机必须安装好 Microsoft Office Excel RAiO TECHNOLOGY INC. 3/18 www.raio.com.tw
1. 转换 BMP 或 JPG 影像为二进制文件档案 (binary file) 执行转图工具软件 (Image_Tool.exe) 点击 BMP JPG 按键, 并选择所使用的 IC 型号 RAiO TECHNOLOGY INC. 4/18 www.raio.com.tw
选择输出二进制文件格式档案 (binary file) 选择所需的色彩深度 (color depth), 并点击 Load Picture 按键 RAiO TECHNOLOGY INC. 5/18 www.raio.com.tw
Note 未勾选 Merging multiple binary files 时 此转图软件将影像档案转为各自的二进制文件档案 勾选 Merging multiple binary files 时此转图软件将影像档案转换, 并合并为单一个二进制文件档案 (All_xx_Pic_xxx.bin), 并将其相关信息储存于 excel 档案 (All_xx_Pic_xxx.xls). 此外, 软件也会产生 C 语言 header file (All_xx_Pic_xxx.h), 其提供一个 Structure, 方便使用者透过此 Structure, 取得影像档案相关信息 xx: IC 型号 xxx: 此名称取决于色彩深度设定, 例如 : 若使用者选择 RA8871/RA8873/RA8876/RA8877 16bpp mode (65k colors), 则输出文 件名称为 All_76_Pic_65K.bin. 选择一个或多个影像档案 (bmp/jpg), 并点击 开启旧文件 按键 Open Select image format RAiO TECHNOLOGY INC. 6/18 www.raio.com.tw
点击 Convert 按键, 并等待转换处理完成 转换完成 RAiO TECHNOLOGY INC. 7/18 www.raio.com.tw
转换档案输出结果 未勾选 Merging multiple binary files 时 转出档案结果 : 勾选 Merging multiple binary files 时 转出档案结果 : 在此操作之下, 软件将产生 All_xx_Pic_xxx.xls 与 All_xx_Pic_xxx.h 档案 All_xx_Pic_xxx.xls 为 excel 档案, 其内容为影像转为二进制文件文件一些相关信息, 包含影像名称 起始地址 高度 宽度 容量大小与数据格式等信息 All_xx_Pic_xxx.h 为 C 语言 header file, 其提供一个 Structure, 方便使用者透过此 Structure, 取得影像档案相关信息 RAiO TECHNOLOGY INC. 8/18 www.raio.com.tw
2. 转换 BMP 或 JPG 影像为 C 语言程序档案 (**.h) 执行转图工具软件 (Image_Tool.exe) 点击 BMP JPG 按键, 并选择所使用的 IC 型号 RAiO TECHNOLOGY INC. 9/18 www.raio.com.tw
选择输出 C 语言程序档案 选择所需的数据格式, 并点击 Load Picture 按键 RAiO TECHNOLOGY INC. 10/18 www.raio.com.tw
选择一个或多个影像档案 (bmp/jpg), 并点击 开启旧文件 按键 Open Select image format 点击 Convert 按键, 并等待转换处理完成 RAiO TECHNOLOGY INC. 11/18 www.raio.com.tw
转换完成 转换档案输出结果 RAiO TECHNOLOGY INC. 12/18 www.raio.com.tw
3. 转换 PNG 影像 ( 含有透明度 ) 为二进制文件档案 (binary file) 执行转图工具软件 (Image_Tool.exe) 点击 PNG 按键, 并点击 Load PNG Picture 按键 Note Note 未勾选 Merging multiple binary files 时 此转图软件将影像档案转为各自的二进制文件档案 勾选 Merging multiple binary files 时此转图软件将影像档案转换, 并合并为单一个二进制文件档案 (All_76_alpha_pixel_16bit.bin), 并将其相关信息储存于 excel 档案 (All_76_alpha_pixel_16bit.xls). 此外, 软件也会产生 C 语言 header file (All_76_alpha_pixel_16bit.h), 其提供一个 Structure, 方便使用者透过此 Structure, 取得影像档案相关信息 RAiO TECHNOLOGY INC. 13/18 www.raio.com.tw
选择 PNG 影像档案, 并点击 开启旧文件 按键 Open 点击 Convert 按键并等待处理完成 RAiO TECHNOLOGY INC. 14/18 www.raio.com.tw
转换处理完成 转换档案输出结果 ( 勾选 Merging multiple binary files ) 此二进制文件档案使用在 BTE alpha blending 16bit pixel mode. (RA8871 / RA8873 / ) RAiO TECHNOLOGY INC. 15/18 www.raio.com.tw
4. 转换 graphic cursor 影像档案为二进制文件档案 (binary file) 或 C 语言程序档案 (*.h) 执行转图工具软件 (Image_Tool.exe) 点击 按键, 再点击 Load Picture 按键 RAiO TECHNOLOGY INC. 16/18 www.raio.com.tw
选择一个 graphic cursor 影像档案, 并点击 开启旧文件 按键 Open 选择输出二进制档案或 C 语言程序档案, 再点击 Convert 按键, 并等待转换处理完成 RAiO TECHNOLOGY INC. 17/18 www.raio.com.tw
转换处理完成 转换档案输出结果 二进制文件档案 (.bin) C 语言程序档案 (.h) RAiO TECHNOLOGY INC. 18/18 www.raio.com.tw