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 bucket.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.
Click to show internal directories.
Click to hide internal directories.