This question already has answers here:
program/library to read photoshop gradient .grd file
(4 answers)
Photoshop export gradient ( .grd files )
(4 answers)
Closed 2 years ago.
I'm trying to generate .grd files in Javascript or PHP.
I googled a lot but I found that there is no way to do it yet!
I have gradient entries and I made it as PNG, CSS Code and SVG, And I want to convert one of these (or the original entries) into a .grd file that can let the visitors of the website download the gradient they want and then use it directly in Adobe Photoshop.
I found this library but it seems to not be for web. It's a Photoshop plugin programmed in JS.
After finding this library and it's made my JS that's mean it's possible to do it, and also it is going to be client side. That's cool.
It's not problem for me if it's server-side or client-side.
Any Idea please?
Thank you all
Related
This question already has answers here:
Most efficient way for ffmpeg to make thumbnails? [Windows 10]
(2 answers)
ffmpeg using an expression for tile filter
(1 answer)
ffmpeg 1 image with many frames
(2 answers)
Closed 1 year ago.
I see this plugin https://www.npmjs.com/package/videojs-preview-thumbnails that allow to create a video preview thumbnails on scrollbar, my question is, how is the fast way to create a image that contain all images frames in order to use this plugin.
I try to use ffmpeg but create only separated image and i need to merge them in a single image.
This question already has an answer here:
Convert SVG to PNG with applied images as background to svg elements
(1 answer)
Closed 1 year ago.
I am trying to convert an SVG to a PNG image. For this reason I use the npm package "dom-to-image". This and all other packages I tried (e.g. html2canvas) do not show a pattern/image in the polygon.
Here is a small example: https://stackblitz.com/edit/angular-ivy-h5e3aw?file=src/app/app.component.html
(External and internal Images produce the same result.)
How can I convert my complete SVG to a PNG?
Thank you very much.
Convert your image link to a data URL and it will work.
href="data:image/png;base64,iVBO ...snip... gg=="
StackBlitz demo
I've been using the very well made Jumploader for image uploading and processing for a few years now on our local intranet. We use it to upload images from a compactflash card to the server... and while it's uploading 1) make two different sized thumbnails of the images while uploading and 2) watermark one of the images with a simple transparent PNG file. Unfortunately with the disabling of NPAPI in Chrome it's forced us to use Internet Explorer to use Jumploader and with the newest versions of Java it's all but disabled the Java applet because it is so out of date and expired. The maker of Jumploader has completely abandoned the project a few years ago and the forums on the jumploader website are completely spam filled.
So my question is this... is there an alternative to Jumploader that does this:
Uploads the full images (JPG) to a specified location. The file
names need to be settable when uploading.
Creates two specific sized thumbnails, one of which needs an
overlayed transparent PNG watermark.
It does all this in about 5 seconds or less each image (if
possible)
The only alternative I've really seen at this point is making it myself, which I'm not as familiar with Java as I am PHP. Doing this all in PHP would take way more than 5 seconds... a LOT more from my initial testing plus when you upload an image via php we've noticed that it often strips the metadata and color profile from the jpg images when uploading. If it has to be two different javascripts/applets that run that's fine, though I'm hoping there's another 'all in one' out there somewhere.
Thanks all!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
My website at http://droid.ly is loading extremely slowly!
What can I do to fix it? Any and all help is greatly appreciated.
Thanks!
Here are couple of things you can try to reduce loading time.
First of all if you are using JS and you are giving online path then try to use that file in your code and give path from you project.instead of using online paths for JS.
Remove Comments and white spaces from javascript. you can use online javascript Compression tool to remove white spaces and comments.
Enable browser caching
Avoid bad requests. check whether you have any broken link.if you do have then make it correct or remove
Try to Use Internal / external CSS .. and dont use inline styles.
Reduce the number of plugins you use on your site
Put CSS at the top and JS at the bottom
Last but not Least .. Image plays roles in site loading time. try to use optimize image..
For more Please follow the link below..
Reducing site loading time
You are using a landing page (one page site) and You have TOO MUCH images on it.
The browser needs to pre-load all the images and that takes some time.
1 - Optimize the images for web view
2 - Try to reduce the amount of your images
3 - Use a plugin that loads the images while scrolling, so the request will be reduced
Try this plugin:
'http://ressio.github.io/lazy-load-xt/demo/index.htm'
Or this one:
http://www.appelsiini.net/projects/lazyload
In this way you will reduce the page load problem.
You have some high resolution PNG images that will load quite slow depending on the connection. Using JPEG format for high resolution photos instead of PNG can reduce their size quite a bit, without significant quality loss. Apart from that consider concatenating and minifying your scripts/stylesheets and gzip everything if possible.
Open chrome, then open developer tools, open Audits tab, chose "Reload page and Audit...", push run button.
Chrome will give you the same advices, as in this answers.
From me:
Make one css file from all css you have.
Make one js file from all js you have.
Resize images on server, make them smaller.
Are you sure, that you are using all symbols from your font files ?Try to remove unused symbols from font files (you can create custom font file from svg files, i manage my fonts via https://icomoon.io/)
And you will see the difference
This question already has an answer here:
How do I create image connecting two vertices in mxGraph?
(1 answer)
Closed 9 years ago.
I want to create a specific connection between two nodes. The connection would have an image. Is this possible?
I work with mxGraph, javascript.
http://upload.wikimedia.org/wikipedia/commons/0/08/Simple_stock_and_flow_diagram.gif
Sorry, for my english. Thanks.
You'll need to (and I'm looking at the v2 API here) create your own edge shape, most likely based on mxConnector (in the shape folder). paintEdgeShape defines the rendering of the edge, you use the canvas API to define that drawing (see API specifications for mxAbstractCanvas2D).