Giter Club home page Giter Club logo

Comments (2)

williammalone avatar williammalone commented on July 21, 2024

To change the outline image, change the src property of the outlineImage variable in the init function.

Changing the dimensions of the drawing canvas is quite a bit more involved. It includes changing the background image and drawing area variables.

from html5-paint-bucket-tool.

isaacsf avatar isaacsf commented on July 21, 2024

Hello William,

Thank you for the answer.

I saw which variable had the source file, but the problem is about the new
image resolution (700x569px, in my case).

I'm playing with _drawingAreaX, drawingAreaY, drawingAreaWidth
*and_drawingAreaHeight

  • variables, with no success at 100%.

My objective is to use my own color tools and layout, so I'm trying to have
the canvas object only with the drawing area inside (so the canvas will be
700x569px, same resolution like the image file).

Could help me on this?

Thank you in advance.

Regards,

On Mon, Mar 4, 2013 at 7:31 PM, William Malone [email protected]:

To change the outline image, change the src property of the outlineImagevariable in the
init function.

Changing the dimensions of the drawing canvas is quite a bit more
involved. It includes changing the background image and drawing area
variables.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-14396420
.

from html5-paint-bucket-tool.

Related Issues (8)

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.