Giter Site home page Giter Site logo

Comments (7)

websanova avatar websanova commented on August 15, 2024

What device/browser?
On May 4, 2013 11:20 PM, "kasper21" [email protected] wrote:

Hey Websanova,

hope my icons work for you.

I have a strange problem that just started to happen out of nothing.

I draw on the wpaint canvas and then I try to retrieve the data with
jQuery("#wPaint").wPaint("image"); and I get the data but itΒ΄s always a
blank png.

help would really be appreciated.

cheers,
Kasper

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/36
.

from wpaint.

kasper21 avatar kasper21 commented on August 15, 2024

osx 10.7.5 and chrome, latest version

from wpaint.

kasper21 avatar kasper21 commented on August 15, 2024

you can see a test page here: http://rvw.bespokestudio.com/test3/

from wpaint.

darshana-dholariya avatar darshana-dholariya commented on August 15, 2024

Hey Websanova,

I have a strange problem in chrome latest version of Windows 7.

When I can try to draw anything on wPaint canvas using pencil, rectangle,ellipse, line etc.. it only show when I drag
rectangle or else on wPaint canvas but not draw on canvas. I used wPaint with resize functionality including

var imageData = $("#wPaint").wPaint("image"); // if you want to maintain the image after resizing the canvas

but there is not working in chrome in windows 7.

Above you mention URL : http://rvw.bespokestudio.com/test3/ it is working well but when I resize window the canvas is not resize so it's working well in my problem when I resize window my canvas is set new width and height.

I also download latest version of wPaint-master and I test index.html file in my chrome. it's working well and I also test fullscreen.html file. it's also working welll when resizing window but canvas image data is not maintain when window resize and I remove comment from these two lines.

var imageData = $("#wPaint").wPaint("image"); // if you want to maintain the image after resizing the canvas
$("#wPaint").wPaint("image", imageData);

and I test fullscreen.html file. it's not working when resizing window with image data maintain. nothing is draw on canvas when I remove comment from those lines.

Here is link to check my wPaint : http://www.stridedev.com/test.php?ddalessio=1
go to this link and click on notebook type icon below calculator icon.
please visit and check.

Please give me some solution to solve this issue.

Regards,
Darshana

from wpaint.

websanova avatar websanova commented on August 15, 2024

Hey Darshana,

Ok, I've added a resize function,t you can call it using
$('#wPaint').wPaint('resize');

Just grab the latest version there is an updated example in
test/fullscreen.html

See if that helps.

Rob

On Thu, Sep 12, 2013 at 8:09 PM, darshana-dholariya <
[email protected]> wrote:

Hey Websanova,

I have a strange problem in chrome latest version of Windows 7.

When I can try to draw anything on wPaint canvas using pencil,
rectangle,ellipse, line etc.. it only show when I drag
rectangle or else on wPaint canvas but not draw on canvas. I used wPaint
with resize functionality including

var imageData = $("#wPaint").wPaint("image"); // if you want to maintain
the image after resizing the canvas

but there is not working in chrome in windows 7.

Above you mention URL : http://rvw.bespokestudio.com/test3/ it is working
well but when I resize window the canvas is not resize so it's working well
in my problem when I resize window my canvas is set new width and height.

I also download latest version of wPaint-master and I test index.html file
in my chrome. it's working well and I also test fullscreen.html file. it's
also working welll when resizing window but canvas image data is not
maintain when window resize and I remove comment from these two lines.

var imageData = $("#wPaint").wPaint("image"); // if you want to maintain
the image after resizing the canvas
$("#wPaint").wPaint("image", imageData);

and I test fullscreen.html file. it's not working when resizing window
with image data maintain. nothing is draw on canvas when I remove comment
from those lines.

Here is link to check my wPaint :
http://www.stridedev.com/test.php?ddalessio=1
go to this link and click on notebook type icon below calculator icon.
please visit and check.

Please give me some solution to solve this issue.

Regards,
Darshana

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-24317142
.

from wpaint.

darshana-dholariya avatar darshana-dholariya commented on August 15, 2024

Hey Websanova,

I used $('#wPaint').wPaint('resize'); but my problem is not solved.

Please check below link of video so you can see what is the problem.
http://screencast-o-matic.com/watch/cIQFi5VGrz

from wpaint.

websanova avatar websanova commented on August 15, 2024

Seems like you're using the old version. Try popping in the latest one.
On Sep 18, 2013 3:05 PM, "darshana-dholariya" [email protected]
wrote:

Hey Websanova,

I used $('#wPaint').wPaint('resize'); but my problem is not solved.

Please check below link of video so you can see what is the problem.
http://screencast-o-matic.com/watch/cIQFi5VGrz

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-24647632
.

from wpaint.

Related Issues (20)

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.