Skip to content

Feature: Save png to octet vector #8

@uint

Description

@uint

Would you be interested in adding a canvas function save-png-octet-vector or save-png-data that simply returns an octet vector with the entire png file for in-memory storage? Seems like a simple thing I'd be happy to make a PR for.

My use case: I want to be able to make a hunchentoot-based server that dynamically generates png's, stores them in memory and serves them when requested, without committing files to storage. Currently I use save-png-stream and a custom binary stream that writes to an octet vector I later retrieve, but this should be simpler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions