Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there any image manipulation library in Javascript that does not depend on canvas so it can be used in a webworker?
I'm looking for operations over raster images such as scaling, rotating and cropping.
jimp. written for node, ported to browser. https://github.com/oliver-moran/jimp/tree/master/packages/jimp/browser
If i'm not wrong Raphaël.js uses canvas too.
Sorry but there is no such library working independent of browser's canvas. Javascript itself can not manipulate images.
If you need to manipulate images in the client you will have to use js+canvas or flash(it has his own draw api). If not possible ... move your manipulation logic to the server.
Try Raphaël http://raphaeljs.com/
It works with both SVG and VML so it supports a broad range of browsers.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
Improve this question
I want to make a Angry Birds kind of game in JavaScript.
Flat 2D soft egde game with no abstract user input or no complex animations.
The idea with this game is to learn to make games in JS, so i can make my own non rip-off game.
The question is wich graphics should I use for most efficiency?
DOM
SVG
Canvas
Ect.
I know games should be made in JS because of inefficiency, but thats is'nt my question - my question is what is the most efficient way in JS.
Thanks for your help :)
I would use Canvas / WebGL with a library or framework to help. There is PhaserJS https://phaser.io for making games - this is built on PixiJS http://www.pixijs.com for more general interactive works. There is ZIM http://zimjs.com which adds many conveniences, components and controls and sits on top of CreateJS at http://createjs.com. These types of frameworks are how most people are making games on the Canvas.
You should use canvas. It gives better performance than the rest.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Can someone suggest a best Java Script Plugin for Image compression with many browsers support?
I searched and find many and not sure about the drawbacks and advantages of using it.
If someone already uses it, please suggest.
Thanks.
Write you own code with HTML5 Canvas, file and Blob Url.
All this code will take half of screen). If you working with very large images, e.g. 6000x9000 for better quality you should use this lib
https://github.com/nodeca/pica instead of canvas.
This is most powerful lib that i know at js. Lib with several resize algorithms for people who knnow the difference.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am searching for a cross-browser client-side library to build SVG a similar way SASS/LESS/SCSS build CSS.
Do you know something like that?
There is SnapSVG. It is not a preprocessor but Snap.svg is designed for modern browsers and therefore supports the newest SVG features like masking, clipping, patterns, full gradients, groups, and more.
http://snapsvg.io/
SnapSVG Demos:
http://snapsvg.io/demos/
Getting Started with SnapSVG:
http://snapsvg.io/start/
SnapSVG Docs:
http://snapsvg.io/docs/
You're looking for a solution for generating SVGs on the server. Frankly there doesn't seem to be much out there for you.
I did a bit of googling, and the best I came up with was this article which describes using PhantomJS to run the standard client-side libraries on the server. It's not the answer you're looking for, but it's the best I've been able to find.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've read tons of similar questions in the Web, but found nothing that is acceptable for me. So, I'm looking for an html5+css+js solution for an offline use that looks similar to chm/pdf. My requirements:
1. All resources are stored in one single file, and I want to edit the source code directly and easily.
2. It's javascript-enabled and opened by the browser.
3. I don't need a built-in index/search functionality.
I tried to write something on my own, but it can't get rid of a serious memory leak...
MHTML would be an alternative. Here are some examples:
Key Concepts of MHTML
MIME Hierarchies of body parts
Another alternative would be SVG with data-uris to embed images and markup. Here are some examples:
Embed data-uris in SVG
Does SVG support embedding of bitmap images?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for javascript libraries that draw graphs using the Raphael library.
Until now I've found these ones:
Graph Dracula http://www.graphdracula.net/
Joint http://www.jointjs.com/
Is anyone using them? Do you know their pros/cons?
Do you know other libraries using Raphael?
Please note: By graph, I mean a set of nodes and edges, we are not talking about charting.
edit: I need a library based on Raphael as it offers compatibility with IE6+, while other libraries draw on HTML5 Canvas and this is not supported by old browsers
EXT.JS is not free, but worth it.
Try Google Visualization API Gadget Gallery
Its Playground link is http://code.google.com/apis/ajax/playground/?type=visualization
Google provides API to load the flash based interactive graphs. I would consider this to better than the three option discovered because of its easy to use APIs and rich collection of graphs and last but not least rich look.