Jump to content

Rgastopng: Difference between revisions

From CPCWiki - THE Amstrad CPC encyclopedia!
Raul (talk | contribs)
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..."
 
Raul (talk | contribs)
No edit summary
Line 4: Line 4:
== Introduction  ==
== 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.
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  ==
== Features  ==

Revision as of 18:44, 18 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.

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

Project

raulop71@hotmail.com