go.image 1.23.1.5

dotnet add package go.image --version 1.23.1.5
                    
NuGet\Install-Package go.image -Version 1.23.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="go.image" Version="1.23.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="go.image" Version="1.23.1.5" />
                    
Directory.Packages.props
<PackageReference Include="go.image" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add go.image --version 1.23.1.5
                    
#r "nuget: go.image, 1.23.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package go.image@1.23.1.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=go.image&version=1.23.1.5
                    
Install as a Cake Addin
#tool nuget:?package=go.image&version=1.23.1.5
                    
Install as a Cake Tool

go.image

C# package converted from the Go standard library by go2cs.

Tests Docs Source Source

Package image implements a basic 2-D image library.

The fundamental interface is called [Image]. An [Image] contains colors, which are described in the image/color package.

Values of the [Image] interface are created either by calling functions such as [NewRGBA] and [NewPaletted], or by calling [Decode] on an io.Reader containing image data in a format such as GIF, JPEG or PNG. Decoding any particular image format requires the prior registration of a decoder function. Registration is typically automatic as a side effect of initializing that format's package so that, to decode a PNG image, it suffices to have

import _ "image/png"

in a program's main package. The _ means to import a package purely for its initialization side effects.

See "The Go image package" for more details: https://golang.org/doc/articles/image_package.html

Security Considerations

The image package can be used to parse arbitrarily large images, which can cause resource exhaustion on machines which do not have enough memory to store them. When operating on arbitrary images, [DecodeConfig] should be called before [Decode], so that the program can decide whether the image, as defined in the returned header, can be safely decoded with the available resources. A call to [Decode] which produces an extremely large image, as defined in the header returned by [DecodeConfig], is not considered a security issue, regardless of whether the image is itself malformed or not. A call to [DecodeConfig] which returns a header which does not match the image returned by [Decode] may be considered a security issue, and should be reported per the [Go Security Policy](https://go.dev/security/policy).


Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file. The go2cs conversion itself is distributed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on go.image:

Package Downloads
go.image.internal.imageutil

image.internal.imageutil (net9.0 - Release) -- C# project converted from Go source

go.image.draw

image.draw (net9.0 - Release) -- C# project converted from Go source

go.image.png

image.png (net9.0 - Release) -- C# project converted from Go source

go.image.jpeg

image.jpeg (net9.0 - Release) -- C# project converted from Go source

go.image.gif

image.gif (net9.0 - Release) -- C# project converted from Go source

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.23.1.5 26 8/9/2026
1.23.1.4 51 8/8/2026
1.23.1.3 101 8/4/2026
1.23.1.2 171 7/27/2026
1.23.1.1 171 7/14/2026