Skip to main content
Participant
August 11, 2013
Question

How can I export the number of pixels of each layer into an excel file?

  • August 11, 2013
  • 1 reply
  • 1423 views

I would like to export the number of pixels that each layer of an image contains into excel. How can I do this?

Secondly, as I need to do this with several images, is there any way to name the layers so that all layers with let's say for example the name "yellow" appear in the same column in excel?

Some background information on why I need to do this... I would like to know how many percent of an image are yellow and have therefore created  layers of one image for each color it contains.

Thanks for your help!!!

This topic has been closed for replies.

1 reply

Mylenium
Legend
August 12, 2013

You will need scripting for such functionality. Ask in the respective PS scripting forum.

Mylenium

78kaza78Author
Participant
August 13, 2013

I posted my question in the scripting forum but dind't get any answers. Does nobody have an idea on how I can export the number of pixels of a layer into excel?

Inspiring
August 13, 2013

Does nobody have an idea on how I can export the number of pixels of a layer into excel?

You can record number of pixels/layer  into the Measurement Log, then export data to Excel. But I'm not sure how to automate that without scripting.