Creating CSS sprites from Photoshop




I have a PSD with a web design.  

Every time I tweak the design, I need to manually copy different portions of the image, with different layer visibilities (for transparency) into CSS sprites.


How much can that be automated?
I used [an automatic photoshop script](http://arnaumarch.com/en/sprites.html) once and worked well.


The concept is : 


* Each portion is a different image.
* Each portion (and so, each images) must be in the same folder w/o any other images.
* Run the script indicating the folder and some parameters (size, css name, etc...).
* The script does : 


	1. Merge all images into one with the size you indicated.
	2. Generate the CSS file


In your case, if you modify one image, you regenerate the global image and the CSS via the script and... that's it. Maybe you'll need to copy/paste the CSS in yours if you don't want to use the generated one.


Notes :


I tried it with a few files and worked great. Then, I tried like ~600 pictures and then, you'll need a goooood CPU and patience ;) In this case, don't use it.
[Layer Sequentially From left to Right](https://community.adobe.com/t5/photoshop/layer-sequentially-from-left-to-right/td-p/12014433) Hi Uwe, You can make inside/outside strokes on non-closed paths using custom width profiles. Use thhe width tool (Shift+W) to make a stroke like this (hold alt to edit only one side of the stroke at a time): Then save it as a profile (bottom of the stroke panel). After that I think your path should be easy to make. Then it shouldn’t be a problem to set the InDesign Transparency Blend Space to RGB. Also when you export for screens don’t use a PDF/X preset, they are designed for press output. Use the Export Output tab to convert the ID doc to sRGB.


 


CMYK Blend Space:


 


![Screen Shot 10.png](https://community.adobe.com/t5/image/serverpage/image-id/150842iD57F1CC3C78841C4/image-size/large?v=1.0&px=999 "Screen Shot 10.png")


 


RGB Blend Space:


![Screen Shot 11.png](https://community.adobe.com/t5/image/serverpage/image-id/150843i56A067219BAD62EE/image-size/large?v=1.0&px=999 "Screen Shot 11.png") adobe photoshop - known for its versatility and useful tools, adobe photoshop is a photo-editing software geared with set of tools like cloning stamp that removes any unwanted sticker from a photo. Hi


Normal behavior is that when you are using a tool, and then press and hold a shortcut key while you use another tool, Photoshop will jump back to the first tool when you release the key.


 


I watched your video, and this is not what is happening to you — you are releasing the keys. Two thoughts for trouble-shooting purposes:


* Can you try another keyboard?
* Can you try with a mouse?
* Have you tried resetting Preferences? This is different from uninstalling and reinstalling. Go to Prefs > General and click Reset Preferences on Quit.


Maybe another volunteer will have other ideas if these don't work.


 


~ Jane thanks everyone for your suggestions. i went with a modified version of [@weekend](/u/weekend)’s:

[[screenshot from 2020-02-22 06-44-57]](https://media.blenderartists.org/uploads/default/original/4x/a/d/6/ad62e605b45c9294a1a33960e705f2a07772113c.jpeg "screenshot from 2020-02-22 06-44-57")

since the idea was to have the ability to have the arrows appear independently, instead of simple subtraction, i fed the result through nodes equalling 1-4x^2, which is an inv… you need a macro. a small extract of the four sheets may be uploaded to 
  
www.speedyshare.com without password. Hi Stacey,I apologize for the trouble here.I did check your account and it looks like you're on a teams subscription for Adobe Stock and since there is no way to unlicense an image that has been licensed one, I've added 1 license to your teams account so that you can use it against this image.Let me know if that helps!Regards,Sheena InDesign, despite the Cloud in Creative Cloud is installed an run locally. The license is checked via web connection about once a month so that’s the only time you need to be online.You can install it on as many machines as you want but only two can be activated concurrently. [@sunlightworking](/u/sunlightworking) this is only a start but you could have fun using subd to model it, break the shape into 2 repeating ‘arms’ that then join together.

[[viewcapture20210611\_093810]](https://aws1.discourse-cdn.com/mcneel/uploads/default/original/4x/b/9/e/b9ec0eea392ef36150b75631db22d3817573de5b.jpeg "viewcapture20210611_093810")