<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IRAF&#039;s imh to GIF</title>
	<atom:link href="http://www.astroresearch.tk/irafs-imh-to-gif/feed" rel="self" type="application/rss+xml" />
	<link>http://www.astroresearch.tk/irafs-imh-to-gif</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 02:33:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.astroresearch.tk/irafs-imh-to-gif/comment-page-1#comment-2273</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.astroresearch.tk/irafs-imh-to-gif#comment-2273</guid>
		<description>
  &#160; &#160;&lt;Request to convert IRAF imh files to something readable by XV&gt; &lt;br /&gt; &lt;p&gt;We use the IRAF package developed by Frank Valdes at Kitt Peak IRAF Group &lt;br /&gt; called &quot;color&quot; which enables one to make false-color images of .imh &lt;br /&gt; files which are Sun Raster files. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;Then you can use XV or other tools to convert from 24-bit color to 8-bit &lt;br /&gt; color, or save as PostScript and print them. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;Below are the details directly from the IRAF package............ &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&#160; &#160; &#160; &#160; David E. Wall &#160; w...@donald.phast.umass.edu &lt;br /&gt; &#160; &#160; &#160; &#160; University of Massachusetts, Amherst - Astronomy &lt;br /&gt; &#160; &#160; &#160; &#160; http://donald.phast.umass.edu/ &lt;br /&gt; ----------------------------------------------------------------------- &lt;br /&gt; &lt;/p&gt;&lt;p&gt;PACKAGE (Oct92) &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; color &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;PACKAGE (Oct92) &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160;Guide to Making Color Composites from IRAF images &lt;br /&gt; &lt;/p&gt;&lt;p&gt;INTRODUCTION &lt;br /&gt; &lt;/p&gt;&lt;p&gt;This &#160;guide &#160;describes &#160;techniques &#160;for &#160;taking &#160;three &#160;monochrome &#160;IRAF &lt;br /&gt; images, a &quot;red&quot; image, a &quot;green&quot; image, and a &quot;blue&quot; &#160;image &#160;and &#160;making &lt;br /&gt; color &#160;composites. &#160; There are many techniques which depend on different &lt;br /&gt; hardware and software. &#160;This guide &#160;currently &#160;discusses &#160;three &#160;methods &lt;br /&gt; for &#160;display &#160;on &#160;an &#160;8-bit &#160;color &#160;workstation, &#160;using &#160;Sun &#160;24-bit RGB &lt;br /&gt; rasterfiles, creating a special color map and image &#160;which &#160;samples &#160;the &lt;br /&gt; RGB &#160;color space, and pixel dithering. &#160;The rasterfiles may be displayed &lt;br /&gt; or &#160;printed &#160;using &#160;a &#160;variety &#160;or &#160;non-IRAF &#160;tools &#160;which &#160;are &#160;readily &lt;br /&gt; available &#160;and &#160;which &#160;can be used with 8-bit workstations. &#160;The special &lt;br /&gt; color map and pixel dithering methods &#160;use &#160;only &#160;IRAF &#160;images &#160;and &#160;the &lt;br /&gt; standard &#160;SAOimage/IMTOOL &#160;display &#160;servers &#160;to &#160;display &#160;on 8-bit color &lt;br /&gt; workstation. &#160;These techniques are intended &#160;to &#160;provide &#160;a &#160;rudimentary &lt;br /&gt; color &#160;composite &#160;capability &#160;in &#160;absence &#160;of &#160;better &#160;hardware &#160;such as &lt;br /&gt; IIS/IVAS devices or 24-bit workstations. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;For further information on the tasks described here see &#160;the &#160;approriate &lt;br /&gt; help pages. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;SUN 24-BIT RGB RASTERFILES &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The &#160;task rgbsun takes three input IRAF images and produces a 24-bit Sun &lt;br /&gt; rasterfile. &#160;Though this file type was developed by Sun Microsystems &#160;it &lt;br /&gt; is &#160;a relatively simple format which may useful on other machines having &lt;br /&gt; software designed to use it. &#160;The color image &#160;may &#160;be &#160;display &#160;with &#160;a &lt;br /&gt; variety &#160;of &#160;tools &#160;such &#160;as &#160;xv (a very powerful and generic viewer for &lt;br /&gt; X-window &#160;systems), &#160;xloadimage &#160; (another &#160; X-window &#160; display &#160; tool), &lt;br /&gt; screenload &#160;(a &#160;simple &#160;displayer &#160;on &#160;Sun &#160;computers), and snapshot (an &lt;br /&gt; Open-Look tool). &#160;Also some color printers can be used with this &#160;format &lt;br /&gt; such as a Shinko color printer. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The &#160;recommended &#160;display &#160;tool &#160;is &#160;xv &#160;which &#160;provides a great deal of &lt;br /&gt; capability &#160;in &#160;adjusting &#160;the &#160;color &#160;map &#160;and &#160;size. &#160; &#160;This &#160; program &lt;br /&gt; compresses &#160;the &#160;24-bit &#160;colors &#160;to 8-bits on an 8-bit workstation using &lt;br /&gt; color dithering techniques (there &#160;is &#160;a &#160;choice &#160;of &#160;a &#160;slow &#160;and &#160;fast &lt;br /&gt; method). &#160; This &#160;program &#160;also &#160;provides &#160;the &#160;capability &#160;to &#160;write the &lt;br /&gt; picture out to other formats and one may also use screen &#160;capture &#160;tools &lt;br /&gt; such as xwd or snapshot to extract and possibly print the picture. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;For hardcopy there is always the option of photographing the workstation &lt;br /&gt; screen. &#160;Different sites may also have color printers which &#160;accept &#160;the &lt;br /&gt; rasterfile &#160;directly &#160;or some other form of capture from the screen. &#160;At &lt;br /&gt; NOAO there is a Shinko color printer which may &#160;be &#160;used &#160;directly &#160;with &lt;br /&gt; the rasterfile to make moderate quality color prints and slides. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;24-BIT to 8-BIT COLOR MAP COMPRESSION &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The &#160;task &#160;rgbto8 &#160;produces &#160;an &#160;8-bit &#160;color map which samples the full &lt;br /&gt; range of RGB color values and an associated image with &#160;values &#160;indexing &lt;br /&gt; the &#160;color &#160;map. &#160; The &#160;compression &#160;algorithm &#160;is called the Median Cut &lt;br /&gt; Algorithm and the image is &#160;dithered &#160;with &#160;this &#160;color &#160;map &#160;using &#160;the &lt;br /&gt; Floyd-Steinberg &#160;algorithm. &#160; The &#160;resulting image is a short image with &lt;br /&gt; 199 values. &#160;The color map is output in either &#160;a &#160;format &#160;suitable &#160;for &lt;br /&gt; use &#160;with &#160;SAOimage or with IMTOOL. &#160;This method is recommended over the &lt;br /&gt; pixel dithering method. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The RGB values are input as three IRAF images. &#160;The images must each &#160;be &lt;br /&gt; scaled &#160;to &#160;an 8 bit range. &#160;This is done by specifying a range of input &lt;br /&gt; values to be mapped to the 8 bit range. &#160;In addition the &#160;range &#160;can &#160;be &lt;br /&gt; mapped logarithmically to allow a greater dynamic range. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The &#160;output &#160;image &#160;is displayed with rgbdisplay with either SAOimage or &lt;br /&gt; IMTOOL. &#160;Note that this requires &#160;V1.07 &#160;of &#160;SAOimage. &#160; The &#160;color &#160;map &lt;br /&gt; produced &#160;by &#160;the rgbto8 for a particular image must also be loaded into &lt;br /&gt; the display server manually. &#160;With IMTOOL use the setup &#160;panel &#160;and &#160;set &lt;br /&gt; the &#160;file &#160;name &#160;in &#160;the &#160;user1 &#160;or &#160;user2 &#160;field &#160;and &#160;then &#160;select the &lt;br /&gt; appropriate map. &#160; With &#160;SAOimage &#160;you &#160;select &#160;the &#160;&quot;color&quot; &#160;main &#160;menu &lt;br /&gt; function, &#160;and &#160;then &#160;the &#160;&quot;cmap&quot; &#160;submenu function, and then the &quot;read&quot; &lt;br /&gt; button. &#160;Note that usually a full pathname is required since the &#160;server &lt;br /&gt; is usually started from the login directory. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The &#160;display server must be setup in it&#039;s default contrast mapping (with &lt;br /&gt; IMTOOL you can use the RESET option but with SAOimage you must &#160;restart) &lt;br /&gt; and &#160;the contrast mapping must not be changed. &#160;There are no adjustments &lt;br /&gt; that can be made in IMTOOL but with SAOimage you can adjust &#160;the &#160;colors &lt;br /&gt; using the &quot;gamma&quot; selections and the mouse. &lt;br /&gt;
  
  &lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>&nbsp; &nbsp;&lt;Request to convert IRAF imh files to something readable by XV&gt; <br /> 
<p>We use the IRAF package developed by Frank Valdes at Kitt Peak IRAF Group <br /> called &quot;color&quot; which enables one to make false-color images of .imh <br /> files which are Sun Raster files.  </p>
<p>Then you can use XV or other tools to convert from 24-bit color to 8-bit <br /> color, or save as PostScript and print them.  </p>
<p>Below are the details directly from the IRAF package&#8230;&#8230;&#8230;&#8230;  </p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; David E. Wall &nbsp; <a href="mailto:w...@donald.phast.umass.edu">w&#8230;@donald.phast.umass.edu</a> <br /> &nbsp; &nbsp; &nbsp; &nbsp; University of Massachusetts, Amherst &#8211; Astronomy <br /> &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://donald.phast.umass.edu/" rel="nofollow">http://donald.phast.umass.edu/</a> <br /> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;  </p>
<p>PACKAGE (Oct92) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PACKAGE (Oct92)  </p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Guide to Making Color Composites from IRAF images  </p>
<p>INTRODUCTION  </p>
<p>This &nbsp;guide &nbsp;describes &nbsp;techniques &nbsp;for &nbsp;taking &nbsp;three &nbsp;monochrome &nbsp;IRAF <br /> images, a &quot;red&quot; image, a &quot;green&quot; image, and a &quot;blue&quot; &nbsp;image &nbsp;and &nbsp;making <br /> color &nbsp;composites. &nbsp; There are many techniques which depend on different <br /> hardware and software. &nbsp;This guide &nbsp;currently &nbsp;discusses &nbsp;three &nbsp;methods <br /> for &nbsp;display &nbsp;on &nbsp;an &nbsp;8-bit &nbsp;color &nbsp;workstation, &nbsp;using &nbsp;Sun &nbsp;24-bit RGB <br /> rasterfiles, creating a special color map and image &nbsp;which &nbsp;samples &nbsp;the <br /> RGB &nbsp;color space, and pixel dithering. &nbsp;The rasterfiles may be displayed <br /> or &nbsp;printed &nbsp;using &nbsp;a &nbsp;variety &nbsp;or &nbsp;non-IRAF &nbsp;tools &nbsp;which &nbsp;are &nbsp;readily <br /> available &nbsp;and &nbsp;which &nbsp;can be used with 8-bit workstations. &nbsp;The special <br /> color map and pixel dithering methods &nbsp;use &nbsp;only &nbsp;IRAF &nbsp;images &nbsp;and &nbsp;the <br /> standard &nbsp;SAOimage/IMTOOL &nbsp;display &nbsp;servers &nbsp;to &nbsp;display &nbsp;on 8-bit color <br /> workstation. &nbsp;These techniques are intended &nbsp;to &nbsp;provide &nbsp;a &nbsp;rudimentary <br /> color &nbsp;composite &nbsp;capability &nbsp;in &nbsp;absence &nbsp;of &nbsp;better &nbsp;hardware &nbsp;such as <br /> IIS/IVAS devices or 24-bit workstations.  </p>
<p>For further information on the tasks described here see &nbsp;the &nbsp;approriate <br /> help pages.  </p>
<p>SUN 24-BIT RGB RASTERFILES  </p>
<p>The &nbsp;task rgbsun takes three input IRAF images and produces a 24-bit Sun <br /> rasterfile. &nbsp;Though this file type was developed by Sun Microsystems &nbsp;it <br /> is &nbsp;a relatively simple format which may useful on other machines having <br /> software designed to use it. &nbsp;The color image &nbsp;may &nbsp;be &nbsp;display &nbsp;with &nbsp;a <br /> variety &nbsp;of &nbsp;tools &nbsp;such &nbsp;as &nbsp;xv (a very powerful and generic viewer for <br /> X-window &nbsp;systems), &nbsp;xloadimage &nbsp; (another &nbsp; X-window &nbsp; display &nbsp; tool), <br /> screenload &nbsp;(a &nbsp;simple &nbsp;displayer &nbsp;on &nbsp;Sun &nbsp;computers), and snapshot (an <br /> Open-Look tool). &nbsp;Also some color printers can be used with this &nbsp;format <br /> such as a Shinko color printer.  </p>
<p>The &nbsp;recommended &nbsp;display &nbsp;tool &nbsp;is &nbsp;xv &nbsp;which &nbsp;provides a great deal of <br /> capability &nbsp;in &nbsp;adjusting &nbsp;the &nbsp;color &nbsp;map &nbsp;and &nbsp;size. &nbsp; &nbsp;This &nbsp; program <br /> compresses &nbsp;the &nbsp;24-bit &nbsp;colors &nbsp;to 8-bits on an 8-bit workstation using <br /> color dithering techniques (there &nbsp;is &nbsp;a &nbsp;choice &nbsp;of &nbsp;a &nbsp;slow &nbsp;and &nbsp;fast <br /> method). &nbsp; This &nbsp;program &nbsp;also &nbsp;provides &nbsp;the &nbsp;capability &nbsp;to &nbsp;write the <br /> picture out to other formats and one may also use screen &nbsp;capture &nbsp;tools <br /> such as xwd or snapshot to extract and possibly print the picture.  </p>
<p>For hardcopy there is always the option of photographing the workstation <br /> screen. &nbsp;Different sites may also have color printers which &nbsp;accept &nbsp;the <br /> rasterfile &nbsp;directly &nbsp;or some other form of capture from the screen. &nbsp;At <br /> NOAO there is a Shinko color printer which may &nbsp;be &nbsp;used &nbsp;directly &nbsp;with <br /> the rasterfile to make moderate quality color prints and slides.  </p>
<p>24-BIT to 8-BIT COLOR MAP COMPRESSION  </p>
<p>The &nbsp;task &nbsp;rgbto8 &nbsp;produces &nbsp;an &nbsp;8-bit &nbsp;color map which samples the full <br /> range of RGB color values and an associated image with &nbsp;values &nbsp;indexing <br /> the &nbsp;color &nbsp;map. &nbsp; The &nbsp;compression &nbsp;algorithm &nbsp;is called the Median Cut <br /> Algorithm and the image is &nbsp;dithered &nbsp;with &nbsp;this &nbsp;color &nbsp;map &nbsp;using &nbsp;the <br /> Floyd-Steinberg &nbsp;algorithm. &nbsp; The &nbsp;resulting image is a short image with <br /> 199 values. &nbsp;The color map is output in either &nbsp;a &nbsp;format &nbsp;suitable &nbsp;for <br /> use &nbsp;with &nbsp;SAOimage or with IMTOOL. &nbsp;This method is recommended over the <br /> pixel dithering method.  </p>
<p>The RGB values are input as three IRAF images. &nbsp;The images must each &nbsp;be <br /> scaled &nbsp;to &nbsp;an 8 bit range. &nbsp;This is done by specifying a range of input <br /> values to be mapped to the 8 bit range. &nbsp;In addition the &nbsp;range &nbsp;can &nbsp;be <br /> mapped logarithmically to allow a greater dynamic range.  </p>
<p>The &nbsp;output &nbsp;image &nbsp;is displayed with rgbdisplay with either SAOimage or <br /> IMTOOL. &nbsp;Note that this requires &nbsp;V1.07 &nbsp;of &nbsp;SAOimage. &nbsp; The &nbsp;color &nbsp;map <br /> produced &nbsp;by &nbsp;the rgbto8 for a particular image must also be loaded into <br /> the display server manually. &nbsp;With IMTOOL use the setup &nbsp;panel &nbsp;and &nbsp;set <br /> the &nbsp;file &nbsp;name &nbsp;in &nbsp;the &nbsp;user1 &nbsp;or &nbsp;user2 &nbsp;field &nbsp;and &nbsp;then &nbsp;select the <br /> appropriate map. &nbsp; With &nbsp;SAOimage &nbsp;you &nbsp;select &nbsp;the &nbsp;&quot;color&quot; &nbsp;main &nbsp;menu <br /> function, &nbsp;and &nbsp;then &nbsp;the &nbsp;&quot;cmap&quot; &nbsp;submenu function, and then the &quot;read&quot; <br /> button. &nbsp;Note that usually a full pathname is required since the &nbsp;server <br /> is usually started from the login directory.  </p>
<p>The &nbsp;display server must be setup in it&#8217;s default contrast mapping (with <br /> IMTOOL you can use the RESET option but with SAOimage you must &nbsp;restart) <br /> and &nbsp;the contrast mapping must not be changed. &nbsp;There are no adjustments <br /> that can be made in IMTOOL but with SAOimage you can adjust &nbsp;the &nbsp;colors <br /> using the &quot;gamma&quot; selections and the mouse. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.astroresearch.tk/irafs-imh-to-gif/comment-page-1#comment-2272</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.astroresearch.tk/irafs-imh-to-gif#comment-2272</guid>
		<description>
  &lt;p&gt;In article &lt;2s4uq8$...@pecos.msfc.nasa.gov&gt; naou...@physics.unc.edu writes: &lt;br /&gt; &gt;Hello, folks! &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&gt;I&#039;m wondering is anybody has some sort of a program that converts &lt;br /&gt; &gt;IRAF&#039;s images (or FITS images) into GIF, TIFF or whatever XV can &lt;br /&gt; &gt;read. It seems a little bit unusual but I really need it. The point &lt;br /&gt; &gt;is that I&#039;m extracting images from Digital Sky Survey, and this &lt;br /&gt; &gt;STScI&#039;s thing gives me only FITS files. I need to make fancy things &lt;br /&gt; &gt;(like captions, a little editing, etc.) with them and print. That&#039;s &lt;br /&gt; &gt;why I need it. &lt;br /&gt; &lt;br /&gt;For presentation-type work, where you only need a qualitative capture &lt;br /&gt; of the image, you can use xv to grab and save any window that is &lt;br /&gt; displayed on the screen, such as in saoimage. It then gives you a few &lt;br /&gt; options for the file format to save it in. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;The other option i&#039;m aware of is with Spyglass Transform, which is a &lt;br /&gt; commercial data display program. It can read FITS and save in a &lt;br /&gt; variety of common formats. The drawback, besides the cost (maybe &lt;br /&gt; $300), is that Transform needs a lot of memory to read an image. We &lt;br /&gt; couldn&#039;t get it to read 2k by 2k images with a 24Mbyte sun, but &lt;br /&gt; smaller images work fine. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;Hope it helps &lt;br /&gt; Hans-Joerg Deeg &lt;br /&gt;
  
  &lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>In article &lt;2s4uq8$&#8230;@pecos.msfc.nasa.gov&gt; <a href="mailto:naou...@physics.unc.edu">naou&#8230;@physics.unc.edu</a> writes: <br /> &gt;Hello, folks!  </p>
<p>&gt;I&#8217;m wondering is anybody has some sort of a program that converts <br /> &gt;IRAF&#8217;s images (or FITS images) into GIF, TIFF or whatever XV can <br /> &gt;read. It seems a little bit unusual but I really need it. The point <br /> &gt;is that I&#8217;m extracting images from Digital Sky Survey, and this <br /> &gt;STScI&#8217;s thing gives me only FITS files. I need to make fancy things <br /> &gt;(like captions, a little editing, etc.) with them and print. That&#8217;s <br /> &gt;why I need it. </p>
<p>For presentation-type work, where you only need a qualitative capture <br /> of the image, you can use xv to grab and save any window that is <br /> displayed on the screen, such as in saoimage. It then gives you a few <br /> options for the file format to save it in.  </p>
<p>The other option i&#8217;m aware of is with Spyglass Transform, which is a <br /> commercial data display program. It can read FITS and save in a <br /> variety of common formats. The drawback, besides the cost (maybe <br /> $300), is that Transform needs a lot of memory to read an image. We <br /> couldn&#8217;t get it to read 2k by 2k images with a 24Mbyte sun, but <br /> smaller images work fine.  </p>
<p>Hope it helps <br /> Hans-Joerg Deeg </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.astroresearch.tk/irafs-imh-to-gif/comment-page-1#comment-2271</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.astroresearch.tk/irafs-imh-to-gif#comment-2271</guid>
		<description>
  In article &lt;2s4uq8$...@pecos.msfc.nasa.gov&gt;, &lt;br /&gt; &lt;p&gt;- Hide quoted text -- Show quoted text -&lt;/p&gt;Sergei Naoumov &lt;naou...@physics.unc.edu&gt; wrote: &lt;br /&gt; &gt;Hello, folks! &lt;br /&gt; &lt;p&gt;&gt;I&#039;m wondering is anybody has some sort of a program that converts &lt;br /&gt; &gt;IRAF&#039;s images (or FITS images) into GIF, TIFF or whatever XV can &lt;br /&gt; &gt;read. It seems a little bit unusual but I really need it. The point &lt;br /&gt; &gt;is that I&#039;m extracting images from Digital Sky Survey, and this &lt;br /&gt; &gt;STScI&#039;s thing gives me only FITS files. I need to make fancy things &lt;br /&gt; &gt;(like captions, a little editing, etc.) with them and print. That&#039;s &lt;br /&gt; &gt;why I need it. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&gt;I&#039;m sure this problem is not unique, so, please, share your experience &lt;br /&gt; &gt;if you have one. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&gt;Thanks in advance, &lt;br /&gt; &gt; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Sergei &lt;br /&gt; &lt;br /&gt;I usually display the image, then do: &lt;br /&gt; &lt;/p&gt;&lt;p&gt;xwd &gt; image.xwd &#160; &#160; &#160; &#160; &#160; &#160; &#160;(make an x window dump) &lt;br /&gt; xwdtopnm image.xwd &#124; pnmtotiff &gt; image.tiff &#160; &#160; (converts to a pnm file, &lt;br /&gt; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;then to a tiff file) &lt;br /&gt; &lt;/p&gt;&lt;p&gt;It&#039;s klunky, but it works. I am open to better suggestions... &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&quot;xwdtopnm&quot; and &quot;pnmtotiff&quot; are part of the &quot;pbmplus&quot; package, &lt;br /&gt; by Jeff Poskanzer. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;Chris &lt;br /&gt;
  
  &lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>In article &lt;2s4uq8$&#8230;@pecos.msfc.nasa.gov&gt;, <br /> 
<p>- Hide quoted text &#8212; Show quoted text -</p>
<p>Sergei Naoumov &lt;naou&#8230;@physics.unc.edu&gt; wrote: <br /> &gt;Hello, folks! <br /> 
<p>&gt;I&#8217;m wondering is anybody has some sort of a program that converts <br /> &gt;IRAF&#8217;s images (or FITS images) into GIF, TIFF or whatever XV can <br /> &gt;read. It seems a little bit unusual but I really need it. The point <br /> &gt;is that I&#8217;m extracting images from Digital Sky Survey, and this <br /> &gt;STScI&#8217;s thing gives me only FITS files. I need to make fancy things <br /> &gt;(like captions, a little editing, etc.) with them and print. That&#8217;s <br /> &gt;why I need it.  </p>
<p>&gt;I&#8217;m sure this problem is not unique, so, please, share your experience <br /> &gt;if you have one.  </p>
<p>&gt;Thanks in advance, <br /> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sergei </p>
<p>I usually display the image, then do:  </p>
<p>xwd &gt; image.xwd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(make an x window dump) <br /> xwdtopnm image.xwd | pnmtotiff &gt; image.tiff &nbsp; &nbsp; (converts to a pnm file, <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;then to a tiff file)  </p>
<p>It&#8217;s klunky, but it works. I am open to better suggestions&#8230;  </p>
<p>&quot;xwdtopnm&quot; and &quot;pnmtotiff&quot; are part of the &quot;pbmplus&quot; package, <br /> by Jeff Poskanzer.  </p>
<p>Chris </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.astroresearch.tk/irafs-imh-to-gif/comment-page-1#comment-2269</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.astroresearch.tk/irafs-imh-to-gif#comment-2269</guid>
		<description>
  In article f...@pecos.msfc.nasa.gov, b...@eggneb.astro.ucla.edu (Bruce Alan Macintosh) writes: &lt;br /&gt; &lt;p&gt;&gt;naou...@physics.unc.edu (Sergei Naoumov) writes: &lt;br /&gt; &gt;&gt;I&#039;m wondering is anybody has some sort of a program that converts &lt;br /&gt; &gt;&gt;IRAF&#039;s images (or FITS images) into GIF, TIFF or whatever XV can &lt;br /&gt; &gt;&gt;read. &lt;br /&gt; &gt;A disadvantage is that you only get as many levels as your saoimage &lt;br /&gt; &gt;supports - usually it seems to reserve about 200 colors, so this isn&#039;t &lt;br /&gt; &gt;very bad. Using something fancy like pbmplus would give you better &lt;br /&gt; &gt;dynamic range and more control, but would be a lot more work. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&gt;Bruce Macintosh &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; b...@astro.ucla.edu &lt;br /&gt; &lt;br /&gt;No work at all - use fitstopgm &amp; ppmtogif if you HAVE the pbmplus &lt;br /&gt; package. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;But for most applications, as others have pointed out, XV&#039;s screen grab &lt;br /&gt; (which is in versions 3.0 AND 2.0) facility - from an SAOimage display &lt;br /&gt; - will suffice. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;--- &lt;br /&gt; Karl Glazebrook, &#160; &#160; &#160; &#160; &#160; email: &#160;k...@mail.ast.cam.ac.uk &lt;br /&gt; Institute of Astronomy, &#160; finger: &#160;k...@jhereg.ast.cam.ac.uk &lt;br /&gt; Cambridge, U.K. &#160; &#160; &#160; &#160; &#160; &#160; &#160;WWW: &#160;http://cast0.ast.cam.ac.uk/~kgb/ &lt;br /&gt;
  
  &lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>In article <a href="mailto:f...@pecos.msfc.nasa.gov">f&#8230;@pecos.msfc.nasa.gov</a>, <a href="mailto:b...@eggneb.astro.ucla.edu">b&#8230;@eggneb.astro.ucla.edu</a> (Bruce Alan Macintosh) writes: <br /> 
<p>&gt;naou&#8230;@physics.unc.edu (Sergei Naoumov) writes: <br /> &gt;&gt;I&#8217;m wondering is anybody has some sort of a program that converts <br /> &gt;&gt;IRAF&#8217;s images (or FITS images) into GIF, TIFF or whatever XV can <br /> &gt;&gt;read. <br /> &gt;A disadvantage is that you only get as many levels as your saoimage <br /> &gt;supports &#8211; usually it seems to reserve about 200 colors, so this isn&#8217;t <br /> &gt;very bad. Using something fancy like pbmplus would give you better <br /> &gt;dynamic range and more control, but would be a lot more work.  </p>
<p>&gt;Bruce Macintosh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:b...@astro.ucla.edu">b&#8230;@astro.ucla.edu</a> </p>
<p>No work at all &#8211; use fitstopgm &amp; ppmtogif if you HAVE the pbmplus <br /> package.  </p>
<p>But for most applications, as others have pointed out, XV&#8217;s screen grab <br /> (which is in versions 3.0 AND 2.0) facility &#8211; from an SAOimage display <br /> &#8211; will suffice.  </p>
<p>&#8212; <br /> Karl Glazebrook, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; email: &nbsp;k&#8230;@mail.ast.cam.ac.uk <br /> Institute of Astronomy, &nbsp; finger: &nbsp;k&#8230;@jhereg.ast.cam.ac.uk <br /> Cambridge, U.K. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WWW: &nbsp;http://cast0.ast.cam.ac.uk/~kgb/ </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.astroresearch.tk/irafs-imh-to-gif/comment-page-1#comment-2270</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.astroresearch.tk/irafs-imh-to-gif#comment-2270</guid>
		<description>
  &lt;p&gt;naou...@physics.unc.edu (Sergei Naoumov) writes: &lt;br /&gt; &gt;I&#039;m wondering is anybody has some sort of a program that converts &lt;br /&gt; &gt;IRAF&#039;s images (or FITS images) into GIF, TIFF or whatever XV can &lt;br /&gt; &gt;read. &lt;br /&gt; &lt;br /&gt;One of the simplest techniques - for producing display images, not &lt;br /&gt; preserving the science data in an image - is just to use xv itself to &lt;br /&gt; grab an image displayed using iraf and saoimage. xv3.00 has a &quot;grab&quot; &lt;br /&gt; button which will grab either an entire window or a portion of it. &lt;br /&gt; Simply use iraf to display the image - which lets you adjust the &#160;levels, &lt;br /&gt; scaling etc. to your liking - in color or greyscale, and then use xv &lt;br /&gt; to grab it, and save it as a gif. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;A disadvantage is that you only get as many levels as your saoimage &lt;br /&gt; supports - usually it seems to reserve about 200 colors, so this isn&#039;t &lt;br /&gt; very bad. Using something fancy like pbmplus would give you better &lt;br /&gt; dynamic range and more control, but would be a lot more work. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;Bruce Macintosh &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; b...@astro.ucla.edu &lt;br /&gt;
  
  &lt;/p&gt;</description>
		<content:encoded><![CDATA[<p><a href="mailto:naou...@physics.unc.edu">naou&#8230;@physics.unc.edu</a> (Sergei Naoumov) writes: <br /> &gt;I&#8217;m wondering is anybody has some sort of a program that converts <br /> &gt;IRAF&#8217;s images (or FITS images) into GIF, TIFF or whatever XV can <br /> &gt;read. </p>
<p>One of the simplest techniques &#8211; for producing display images, not <br /> preserving the science data in an image &#8211; is just to use xv itself to <br /> grab an image displayed using iraf and saoimage. xv3.00 has a &quot;grab&quot; <br /> button which will grab either an entire window or a portion of it. <br /> Simply use iraf to display the image &#8211; which lets you adjust the &nbsp;levels, <br /> scaling etc. to your liking &#8211; in color or greyscale, and then use xv <br /> to grab it, and save it as a gif.  </p>
<p>A disadvantage is that you only get as many levels as your saoimage <br /> supports &#8211; usually it seems to reserve about 200 colors, so this isn&#8217;t <br /> very bad. Using something fancy like pbmplus would give you better <br /> dynamic range and more control, but would be a lot more work.  </p>
<p>Bruce Macintosh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:b...@astro.ucla.edu">b&#8230;@astro.ucla.edu</a> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
