Avi2Cvc v3.0 (Go) by ssjx (http://ssjx.co.uk)
=============================================

Avi2Cvc can convert uncompressed/msvc AVI files into smaller 4 colour videos better suited to the Cybiko handheld computer.

This version was made using the Go Programming Language (https://golang.org).

Usage
-----

avi2cvc myfile.avi

This will result in a file called 'myfile.cvc'

By default, ordered dithering is used, to use no dithering or to use diffusion:

avi2cvc -nodither myfile.avi

avi2cvc -diffuse myfile.avi

Diffusion can give a better image but can result in larger files.


Getting your AVI in the correct format
--------------------------------------

The AVI file needs to:

* Have a resolution of 160x100 or lower, the width should be divisible by 4.
* Be 24bit and uncompressed or 16bit and compressed with the Microsoft Video 1 codec (MSVC).
* Have a low frame rate, around 7 fps is usually good.
* Have no audio.

VirtualDub (http://virtualdub.org/) is great for creating compatible AVI files.

Changes
-------
Vesrion 3.1 (31/01/2026)
+ No changes, fresh compile.

Vesrion 3.1 Changes - (11/06/2022)
+ Moved some variables declarations to be as late as possible
+ Fixed off by one in Delta 2 encoder

Version 3.0
+ First version made using Go. Mix of the D version with the improved Avi reader from Java.
