tempfile

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

package tempfile provides methods for working with temporary files used to create a picturebook.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TempFileWithImage

func TempFileWithImage(ctx context.Context, bucket *blob.Bucket, im image.Image) (string, string, error)

TempFileWithImage will write a new JPEG file in 'bucket' derived from 'im'. The return values are the filename of the temporary file, its image format and any errors produced during writing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL