unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: Guile Users' Mailing List <guile-user@gnu.org>
Subject: [ANN] Guile-PNG 0.3.0 released
Date: Sun, 18 Dec 2022 20:58:26 +0300	[thread overview]
Message-ID: <875ye8vbjx.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]

Hello Guilers,

I'm pleased to announce Guile-PNG 0.3.0, Portable Network Graphics
(PNG)[1] library for GNU Guile, implemented in pure scheme:
  https://github.com/artyom-poptsov/guile-png/releases/tag/v0.3.0

This version adds ability to draw polygons and filled rectangles, as
well as fixes line drawing algorithm.  Also now Guile-PNG allows to
create PNG images from scratch.

The library uses Guile-ZLIB[2] to compress/decompress the PNG data.

Also this is the third project of mine that uses Guile State Machine
Compiler (Guile-SMC)[3].


* List of user-visible changes

--8<---------------cut here---------------start------------->8---
* Changes in version 0.3.0 (2022-12-18)
** Improve the image parser
PNG chunks are now decoded properly, including data decompression.
** Improve the image encoder
Implement proper encoders for PNG chunks, including compression.
** Guile-PNG now allows to create PNG images from scratch
This also means that Guile-PNG now allows to create PNG images and draw some
graphics over them (using =(png graphics)= module.)
** =(png graphics)=: Fix line drawing algorithm
Re-implement the better version of Bresenham's line drawing algorithm based on
the GNU Octave code from
<https://www.markwrobel.dk/post/amiga-machine-code-letter12-linedraw/>
** =(png graphics)=: Add "<filled-rectangle>"
** =(png graphics)=: Add "<polygon>"
** Update the documentation
** Add new tests
--8<---------------cut here---------------end--------------->8---


Happy hacking!

- Artyom


References:
1. https://www.rfc-editor.org/rfc/rfc2083
2. https://notabug.org/guile-zlib/guile-zlib/
3. https://github.com/artyom-poptsov/guile-smc

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

             reply	other threads:[~2022-12-18 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-18 17:58 Artyom V. Poptsov [this message]
2022-12-19  6:45 ` [ANN] Guile-PNG 0.3.0 released Dr. Arne Babenhauserheide

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875ye8vbjx.fsf@gmail.com \
    --to=poptsov.artyom@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).