定制 homelan/acorn-mode7 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

homelan/acorn-mode7

Composer 安装命令:

composer create-project homelan/acorn-mode7

包简介

Provides a class for build png/jpeg/gif images of raw mode 7 graphics data from the BBC Mirco (teletext, and viewdata)

README 文档

README

PHP Class for reading Viewdata, Teletext, BBC Mode 7 Graphics, and producing jpeg, png, gif images from that data.

Install

composer require homelan/acorn-mode7

Usage

There is one class Mode7, and loads raw BBC mode 7 (teletext) graphics data and produces jpeg/png/gif images from it.

The constructor requires passing a filesystem object to it.

use HomeLan\Retro\Acorn\BBC\Gfx\Mode7;
use HomeLan\Core\Filesystem\Filesystem;


$oTeleText = new Mode7(
			new Filesystem()
		);

Once the oject exists it can load any raw mode7 graphics data

$oTeleText->loadMode7Data('/tmp/download.txt');

It can then produce an image file of that data in different formats

$oTeleText->writePng('/tmp/0-0.png');
$oTeleText->writeJpeg('/tmp/0-0.jpg');
$oTeleText->writeGif('/tmp/0-0.gif');
$oTeleText->writeBmp('/tmp/0-0.bmp');

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固