Skip to main content
Solved

colored-jpg to grayscale-jpg

  • July 16, 2018
  • 3 replies
  • 107 views

Hi, I am new here,

 

I tried to convert a colored „jpg“ raster image to „grayscale".

 

Until now i used the programm „IrfanView“, where I set the saturation-value to „-255“,

 

but i had to do it for every image seperatly.

 

Now I want to use FME for conversion of multiple pictures at once.

 

Could you help me to find the correct transformer for this work?

 

Or is there any other simply way to convert a various number of colored jpeg images into grayscale?

 

Thanks for answers ……

Best answer by takashi

Hi @chrst, the RasterExpressionEvaluator might help you. See the example 4 in this article to learn more: Simple Examples Using the RasterExpressionEvaluator Transformer

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • July 16, 2018

I personally use the RasterExpressionEvaluator to perform a weighted band conversion,

 

ex. 0.2989*A[0] + 0.5870*A[1] + 0.1140*A[2]

 

These values come from Rec.601, but there are several other standards.

takashi
Celebrity
  • 7843 replies
  • Best Answer
  • July 16, 2018

Hi @chrst, the RasterExpressionEvaluator might help you. See the example 4 in this article to learn more: Simple Examples Using the RasterExpressionEvaluator Transformer


  • Author
  • 3 replies
  • July 16, 2018

Wouh, super, very helpful

 

Thank You

 

Greetings from our Dolomite Alps .......