Last modified on 18 November 2021, at 13:44

Rgastopng

Revision as of 13:44, 18 November 2021 by Raul (Talk | contribs)

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.

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