Difference between revisions of "Rgastopng"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Created page with "= rgastopng.py = PNG graphics extractor for RGAS spectrum and Amstrad CPC files == Introduction == Are you boring from RGAS slow speed about long graphics list. Use this too...")
(No difference)

Revision as of 14:56, 17 November 2021

rgastopng.py

PNG graphics extractor for RGAS spectrum and Amstrad CPC files

Introduction

Are you boring from RGAS slow speed about long graphics list. Use this tool for extract all your RGAS graphics to standar PNG format.

It is free and open source. It is also a work in progress so some features may be incomplete and/or buggy.

This application is an evolution of the AMSprite program, which will no longer be developed as all its features have been moved to RGAS.

Features

  • PNG graphics extractor for RGAS spectrum and Amstrad CPC files

Setup

Are needed:

  • Python 3
  • pypng (python module)

Use

python3 rgastopng.py -i [input filename.RGAS] (-o [output directory name])```

By default rgastopng create a directory with RGAS filename.
Output directory is optional for group new RGAS subdirectories.

Whith -o optional directory:

* [optionaloutputDir](./optionaloutputDir)
  * [/optionaloutputDir/rgasfiledir01](./optionaloutputDir/rgasfiledir01)
       * [file01.png](./optionaloutputDir/rgasfiledir01/file01.png)
       * [file02.png](./optionaloutputDir/rgasfiledir01/file01.png)
       * [file03.png](./optionaloutputDir/rgasfiledir01)
  
  * [/optionaloutputDir/rgasfiledir02](./optionaloutputDir/rgasfiledir02)
       * [file01.png](./optionaloutputDir/rgasfiledir02/file01.png)
       * [file02.png](./optionaloutputDir/rgasfiledir02/file01.png)
       * [file03.png](./optionaloutputDir/rgasfiledir02)

Without -o optional directory:

  * [/rgasfiledir01](./rgasfiledir01)
       * [file01.png](./rgasfiledir01/file01.png)
       * [file02.png](./rgasfiledir01/file01.png)
       * [file03.png](./rgasfiledir01)
  * [/rgasfiledir02](./rgasfiledir02)
       * [file01.png](./rgasfiledir02/file01.png)
       * [file02.png](./rgasfiledir02/file01.png)
       * [file03.png](./rgasfiledir02)


Downloads

https://www.cpcwiki.eu/index.php/File:Rgastopng.zip

Related links

Project

raulop71@hotmail.com