GithubHelp home page GithubHelp logo

ozankasikci / go-image-merge Goto Github PK

View Code? Open in Web Editor NEW
117.0 117.0 30.0 66 KB

gim - a library that can merge given images as a grid with the desired size.

License: Apache License 2.0

Go 100.00%
image-processing

go-image-merge's Introduction

LinkedIn Twitter

Hi there 👋

Hi there, I'm Ozan, a software engineer and entrepreneur with a passion for programming and building awesome games as the co-f of Longhorn Games.

I'm driven by the belief that we can help humanity take a step forward through innovation, and I'm committed to doing my part to make that happen.

More...

Programming Languages

Go  Shell Script  Rust  JavaScript  NodeJS  SQL C++  C#  Java  PHP  Lua  Coffeescript  HTML  CSS

CI/CD

TravisCI  CircleCI  GitHub Actions  GitLab CI  Jenkins 

DevOps Tools & Libraries

Docker  Kubernetes  Helm  Vagrant  Ansible  Terraform  nginx  Git

Databases & Queues

Postgres  MySQL  Redis  ElasticSearch  RabbitMQ 

BackEnd Tools & Libraries

GraphQL  gRPC  Express.js 

FrontEnd Tools & Libraries

React  Redux  jQuery  Webpack  Gulp  Apollo-GraphQL 



My Open Source Projects

Project Stars Forks Issues Pull Requests
Rust Music Theory GitHub stars GitHub Forks GitHub Issues GitHub PRs
Vim Man! GitHub stars GitHub Forks GitHub Issues GitHub PRs
Dockerfile Generator GitHub stars GitHub Forks GitHub Issues GitHub PRs
Go Image Merge GitHub stars GitHub Forks GitHub Issues GitHub PRs
Phaser Coffeescript Gulp GitHub stars GitHub Forks GitHub Issues GitHub PRs
Unity Cheat Sheet GitHub stars GitHub Forks GitHub Issues GitHub PRs

go-image-merge's People

Contributors

blue14753 avatar gucio321 avatar marcsantiago avatar ozankasikci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-image-merge's Issues

No api for byte slice

Love the project,

Would love to see an API for handling images as a slice of byte

May fork and implement on own time

Error when pasting image from memory

I originally was making a script to paste an image on to a new image, I saw your comment on stackoverflow and then found my way to this.

I wanted to create a new image the size of both images then post imageA at coords 0,0 then imageB to the right of imageA.

Your script works flawlessly when you enter directories.

Image looks like this using directory param https://imgur.com/a/qoYi4K7

Image looks like this using image.Image https://imgur.com/a/ddb3qbX

I even tried setting the pixels on the new image equal to each pixel on the old image but it starts editing the image half way down the y axis and im not sure why even tho i'm starting at 0,0

I wanted to create the new image in memory rather than writing and reading files [just means i'll have to delete them later]

May I ask why I could merge it as transparent png?

I'm sorry to trouble you here.

I used code below to render my multiple layers to a single image:

layers := getInputLayers() // slice of files in string
grids := []*gim.Grid{
{ImageFilePath: "input/" + layers[6]},
{ImageFilePath: "input/" + layers[5]},
{ImageFilePath: "input/" + layers[4]},
}
rgba, err := gim.New(grids, 1, 1).Merge()
file, err := os.Create("output/images/path.png")
err = png.Encode(file, rgba)

All layers that I've used are transparent which can be merged/combined in other program/software.
However I always got the top layer with solid rendering with my code.

May I ask for some help?
Appreciate your time and attention.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.