Skip to main content
Solved

Converting a TIF to a JPG

  • February 13, 2018
  • 5 replies
  • 252 views

Forum|alt.badge.img

I am trying to convert an image I have that is in TIF format to a JPG format. I've done it before but just forgot the path. If anyone has any suggestions of tips please let me know thank you!

Best answer by daveatsafe

Hi @sightglass26_,

Rather than the RasterSelector and RasterbandKeeper, it might be easier to use a RasterInterpretationCoercer to convert the raster to RGB32, which is suitable for JPG output.

View original
Did this help you find an answer to your question?

5 replies

Forum|alt.badge.img
  • February 13, 2018

Hi @sightglass26_

you need a TIFF or Geo TIFF Reader and a JPEG Writer in your workspace. After you connect the two and run your translation, you will get your source tif-file converted into JPG. You can do more using Reader and Writer parameters and/or transformers.


Forum|alt.badge.img

capture.jpg

Please see attached. There is an 'extra bands' error. We have it set up the way you guys showed us last time, but we are getting an error.


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • February 13, 2018

Hi @sightglass26_,

Rather than the RasterSelector and RasterbandKeeper, it might be easier to use a RasterInterpretationCoercer to convert the raster to RGB32, which is suitable for JPG output.


takashi
Contributor
  • February 14, 2018
daveatsafe wrote:

Hi @sightglass26_,

Rather than the RasterSelector and RasterbandKeeper, it might be easier to use a RasterInterpretationCoercer to convert the raster to RGB32, which is suitable for JPG output.

Probably "RGB32" is a typo. I suppose that "RGB24" is intended here ;-)

 

 


Forum|alt.badge.img
daveatsafe wrote:

Hi @sightglass26_,

Rather than the RasterSelector and RasterbandKeeper, it might be easier to use a RasterInterpretationCoercer to convert the raster to RGB32, which is suitable for JPG output.

Dave, great! that gets us a JPG2000 file, but I can't send that to the printer. How do I get it to a standard .jpg?

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings