comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » envi_output_to_external_format - jpeg output not working
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
envi_output_to_external_format - jpeg output not working [message #66302] Mon, 04 May 2009 05:02
hethomas is currently offline  hethomas
Messages: 19
Registered: December 2008
Junior Member
I know similar things have been posted before with regard to Tiff
files, but I really need Jpegs. The closest I can get is for a grey
scale (presumably one band) jpeg to be output. Most things I try
produce a jpeg file, which won't display (except in ENVI).
Any ideas?
Here is my code:

envi_doit, 'decor_doit',fid=t_fid,
pos=pos,dims=dims,out_name=out_name,r_fid=rfid,$
out_bname=['Band 14','Band 13','Band 10']

cd, RGBfolder

envi_file_query, rfid, ns=ns, nl=nl, nb=nb
dims = [-1l, 0, ns-1, 0, nl-1]
pos = lindgen(nb)
out_namethree = 'RGB-'+filename


envi_doit, 'stretch_doit', $
fid=rfid, pos=pos, dims=dims, $
method=1, out_name=out_namethree, $
i_min=2.0, i_max=98.0, range_by=0, $
out_min=0, out_max=255, out_dt=1, $
r_fid=sfid

envi_output_to_external_format, fid=sfid, dims=dims, pos=pos, $
out_name='outputfile.jpg', /JP2

Thanks in advance!

Helen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: An Callable IDL Question
Next Topic: www.hiphopurbanclothes.com Cheap Nike DUNK SB Shoes, Dsquared2 Mauri Shoes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:52:59 PDT 2025

Total time taken to generate the page: 0.00557 seconds