gf_image_editor

package
v0.0.0-...-a1b0e2b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitHandlers

func InitHandlers(pMux *http.ServeMux,
	pRuntimeSys *gf_core.RuntimeSys)

Types

type GFeditedImage

type GFeditedImage struct {
	Id                   primitive.ObjectID       `bson:"_id,omitempty"`
	Id_str               string                   `bson:"id_str"`
	T_str                string                   `bson:"t"` // "img_edited"
	Creation_unix_time_f float64                  `bson:"creation_unix_time_f"`
	Source_image_id_str  gf_images_core.GFimageID `bson:"source_image_id_str"`
}

type GFeditedImageProcessingInfo

type GFeditedImageProcessingInfo struct {
	// contains filtered or unexported fields
}

type GFeditedImageSaveHTTPinput

type GFeditedImageSaveHTTPinput struct {
	Title_str             string                   `json:"new_title_str"`         // title of the new edited_image
	Source_image_id_str   gf_images_core.GFimageID `json:"source_image_id_str"`   // id of the gf_image that has modification applied to it
	Source_flow_name_str  string                   `json:"source_flow_name_str"`  // which flow was the original image from
	Target_flow_name_str  string                   `json:"target_flow_name_str"`  // which flow the modified_image should be placed into
	Image_base64_data_str string                   `json:"image_base64_data_str"` // base64 encoded pixel data of the image
	Applied_filters_lst   []string                 `json:"applied_filters_lst"`   // list of filter names (in order) that were applied to the original image
	New_height_int        int                      `json:"new_height_int"`        // new dimensions in case of cropping/resizing
	New_width_int         int                      `json:"new_width_int"`         // new dimensions in case of cropping/resizing
}

Jump to

Keyboard shortcuts

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