photos

command
v0.0.0-...-81af03d Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: MIT Imports: 9 Imported by: 0

README

The purpose of the photos example application is to illustrate how the Go image package can be used to process image files (e.g. *.jpg files).

The images are stored in a HTML img element. If you click on the "Create a grayscale file and store it on your hard drive" button, the Go code will create a grayscale version of the displayed color image and store it on your hard drive. For example, if the displayed image is "flowersAndMountains.jpg", the application will create a file named "GS_flowersAndMountains.jpg" and store it on your hard drive.

Clicking on either the "Reduce size by half" button or the "Resize to normal size" button will invoke Javascript code to implement the respective request.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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