Git Product home page Git Product logo

canvas's People

Contributors

airesvsg avatar daviferreira avatar eltonvs avatar feliperoberto avatar fjefferson avatar jndeus avatar mvofreire avatar octaaugusto avatar strubloid 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

Watchers

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

canvas's Issues

Posição Crop

Eu fiz um ajuste extra para posicionar o crop através de x, y, width e height.
Se quiser, posso enviar o request depois.
Pensei que o projeto estivesse parado indefinidamente.

**Não testei para as demais funções. Apenas crop.

Png com fundo transparente

Adicionar:
imagealphablending($this->img_temp, false); imagesavealpha ( $this->img_temp , true );
Em toda a classe após todos os
$this->img_temp = imagecreatetruecolor($this->nova_largura, $this->nova_altura);

resolveu o problema, agora os pngs são redimnesionados com fundo transparente.
Vou fazer um pull request logo mais.

Add canvas in my project with composer

Hi Davi,
How to add your lib with composer in my project ?

I tried and i receive an error telling that i need to specify a version of this lib.

Thanks

Redimensionamento proporcional

Olá Davi. Estou utilizando a classe Canvas e me deparei com uma situação em que necessito de redimensionar a imagem proporcionamente, conforme a altura ou largura fo maior. Só que encontrei com o preenchimento, mas quero apenas que redimensiona sem preenchimento msm.

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.