Tagged Questions
1
vote
4answers
36 views
Why doesn't this Javascript image object get added to the image array?
I've been trying to create a small HTML5-based example, but I've ran into some problems. I want to render a rock on a <canvas> but this Javascript object won't work properly.
function ...
0
votes
3answers
22 views
JPEG image manipulator for Node JS (from JPEG file dump)
I've been searching for an npm module that is converts a JPEG-encoded file into an abstracted format, easy for manipulation. e.g. This format would allow one to easily edit the RGBA value at a given ...
-2
votes
2answers
154 views
I need to put script from jsFiddle to work [closed]
I have one small problem... I need to put this script http://jsfiddle.net/mctcs/ to work on my page, but I don't know how to do it. What to copy where, and how to make jquery working! I don't have ...
0
votes
0answers
30 views
JavaScript - Node.js server don't show image
I am with a problem over here, I am using node.js framework to handle the requests to my index.html.
The index.html file has some images, but its not appearing for my users!
I am reading both files, ...
2
votes
4answers
44 views
Revealing text on hover image
With my code, i am using a script that generates a random set of 4 images that gets displayed on refresh. I wish to only display the text when the cursor is hovering over the respective image.
Any ...
0
votes
1answer
15 views
Icon engine with custom colors, per icon 2 colors
I have collection of icons, white/black, exist any possibility to edit this icons live, i mean this so if i give any two colors in back office, for example, red/blue, so are my icons not white/black, ...
7
votes
4answers
16k views
How To Save Canvas As An Image With canvas.toDataURL()?
I'm currently building a HTML5 web app/Phonegap native app and I can't seem to figure out how to save my canvas as an image with canvas.toDataURL():( Can somebody please help me out?
Here's the code, ...
0
votes
3answers
45 views
Highlight Image Area - when a link is clicked
I have a Image (lets say a USA Map) on a web page, and i have various links (lets say State Names) below it (separate from the image).
When i click on a State Name link, that state area in the image ...
1
vote
3answers
51 views
How can I force the download of unused CSS images?
This is kind of a continuation of a QUESTION I ASKED YESTERDAY and an off-shoot of THIS QUESTION.
Basically, I am using jquery to change css background images on page scroll, however on first visit, ...
0
votes
1answer
23 views
Is NodeJS Image Processing/Analysis Possible?
I'm running NodeJS on the server-side, and I'm trying to do a bit of automated image processing to determine the 'base colour' of an image.
Here are the steps of what I want to do:
Take an image ...
10
votes
5answers
7k views
Get the Size of a CSS Background Image Using JavaScript?
Is it possible to use JavaScript to get the actual size (width and height in pixels) of a CSS referenced background image?
2
votes
1answer
18 views
Drawing img containing SVG source with canvas to get Data URL
I ultimately want to get a data URI of an SVG graphic, and I am trying to do this by adding the SVG source to an image element, drawing the image with canvas, and then
In this sample jsFiddle, it ...
1
vote
2answers
69 views
image on html - cache
I have a web page, which has an image. But the image is loaded some seconds after the page opens. I want to display a loading gif while the image has not been loaded, and then check if the image has ...
0
votes
1answer
49 views
Javascript: loading image from bytearray
In Javascript you have the ByteArray type and some views on it as described here:
https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays
is it possible to store image data in such bytes and ...
1
vote
6answers
50 views
How can i retrieve an image of <img> tag into the variable in javascript? [on hold]
How can i get the image of the <img> tag and store it in a variable in javascript (or equivalently jquery) ?
(actually i want to swap the images between two <img> tags).