func RegisterFormat(fmt Format) {
	formats = append(formats, Format{
		Name:         fmt.Name,
		Extensions:   append([]string(nil), fmt.Extensions...),
		Magics:       append([]string(nil), fmt.Magics...),
		DecodeConfig: fmt.DecodeConfig,
		Decode:       fmt.Decode,
		Encode:       fmt.Encode,
	})
}
// RegisterFormat registers an image format for use by Encode and Decode.
RegisterFormat registers an image format for use by Encode and Decode.
// RegisterFormat registers an image format for use by Encode and Decode .
func RegisterFormat(fmt Format) {
	formats = append(formats, Format{
		Name:         fmt.Name,
		Extensions:   append([]string(nil), fmt.Extensions...),
		Magics:       append([]string(nil), fmt.Magics...),
		DecodeConfig: fmt.DecodeConfig,
		Decode:       fmt.Decode,
		Encode:       fmt.Encode,
	})
}
func RegisterFormat ( fmt Format ) { formats = append ( formats , Format { Name : fmt . Name , Extensions : append ( [ ] string ( nil ) , fmt . Extensions ... ) , Magics : append ( [ ] string ( nil ) , fmt . Magics ... ) , DecodeConfig : fmt . DecodeConfig , Decode : fmt . Decode , Encode : fmt . Encode , } ) }
RegisterFormat registers an image format for use by Encode and Decode.
RegisterFormat registers an image format for use by Encode and Decode .