[42] Results

Golang : Changing a RGBA image number of channels with OpenCV

golang bgr number-of-rgba-channels opencv-cvtcolor create-image


Golang image packages deal with RGBA ( 4 channels ) and OpenCV deals with BGR ( 3 channels ).….... read more

CodeIgniter/PHP : Create directory if does not exist example

codeigniter php is-dir mkdir create-directory

Problem :

How to check if a directory exist or not? If not, how to create a directory?


.... read more

Golang : GORM create record or insert new record into database example

golang insert-create-record gorm mysql mariadb

Continuing from previous tutorial on how to read record from database with GORM. This time we learn how….... read more

Golang : Read, Write(Create) and Delete Cookie example

golang cookie-jar read-delete-create-cookie web-server

Got an email from a reader asking for a more elaborated example of how to read, write(create) and delete a….... read more

Golang : Check if directory exist and create if does not exist

golang directory-folder os-isnotexist create-directory-folder

Anyway, need to modify an existing Golang program for a friend. The original developer left her company and basically, she….... read more

Golang : Simple image viewer with Go-GTK

golang image-viewer gtk

This is a really simple command line image viewer program written in Golang. Instead of viewing images with Photoshop or….... read more

Golang : Convert an image file to []byte

golang image convert byte

This is a quick tutorial on how to convert an image file to byte array. This question was originally posted….... read more

Golang : Generate thumbnails from images

golang image thumbnails

After learning how to resize images and crop images with Golang. We will learn how to….... read more