Comments (7)
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.
osx 10.7.5 and chrome, latest version
from wpaint.
you can see a test page here: http://rvw.bespokestudio.com/test3/
from wpaint.
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.
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 includingvar imageData = $("#wPaint").wPaint("image"); // if you want to maintain
the image after resizing the canvasbut 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.
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.
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)
- Default foreground when loading a tool? Possible?
- Hide Load Image buttons HOT 1
- Need one extra shape
- wPaint.menu.main min and full scripts differ
- Remove menu HOT 1
- An error appearing on touchscreen Chromebooks
- Some time OnShapeUp event not call
- how to rotate image horizontal
- Please, ADD a Zoom Function
- Menu items won't load on a second wPaint Instance
- Resizing Canvas HOT 1
- Can we have only text plugin for simple canvas with out using wPaint lib
- is dragging image available?
- Tool single click does not work on ipad
- Callback in not working
- can we use complete website a canvas to draw ?
- Undo Redo not working with jquery 3x HOT 2
- Destroy or reinitialise
- Is there a way to set the lineWidth programmatically?
- Image background and text color is same
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpaint.