Changes

Jump to: navigation, search

Teletext

34 bytes added, 15:37, 8 March 2020
/* Code for image conversion */
Done by Nico D. in Perl.
Image must first be processed in Gimp to resize it to 80 (79 78 exactly) pixel width, colour converted to 1 bit black&white, floyd-steinberg (normal).
It seems that to have a correct aspect ratio at the destination you should multiply the original height by 1.25
use GD;
# output file:
open(F,">/tmp/out-teletext.tti");
# input png file
open (IM,"mc80.png") || die;
$im = newFromPng GD::Image('IM');
31
edits