A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

[fitsbits] conversion of jpeg to fits



 
 
Thread Tools Display Modes
  #1  
Old September 17th 07, 06:18 PM posted to sci.astro.fits
Patrick P Murphy
external usenet poster
 
Posts: 1
Default [fitsbits] conversion of jpeg to fits

On Mon, 17 Sep 2007 14:45:34 +0530, "Sreenath K R" said:

I have jpeg image and I would like to convert it into fits
format. Kindly do let me know how to convert jpeg format to fits
format.


To first order, this works on most any Linux system:

djpeg file.jpg | pnmtofits file.fits

On a RedHat/Fedora system, djpeg is in the libjpeg RPM and pnmtofits is
in the netpbm-progs RPM package. On Ubuntu Linux, djpeg is part of the
libjpeg-progs package and pnmtofits is part of the netpbm package.

- Pat

--
Patrick P. Murphy, Ph.D. NRAO Webmaster, Computing Security Manager
http://www.nrao.edu/~pmurphy/ http://chien-noir.com/maze.shtml
"Inventions then cannot, in nature, be a subject of property."
-- Thomas Jefferson, August 13, 1813
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[fitsbits] conversion of jpeg to fits Sreenath K R FITS 1 September 18th 07 10:56 AM
[fitsbits] conversion of jpeg to fits Steve Allen FITS 0 September 17th 07 06:17 PM
FITS -> jpeg/gif/png in python Chris FITS 0 March 15th 05 03:47 PM
FITS long integer support (was [fitsbits] ADASS FITS BoFon Sunday) William Pence FITS 6 October 22nd 04 08:23 PM
Programs for stacking fits or jpeg Rafael Compassi Amateur Astronomy 2 August 26th 03 03:04 PM


All times are GMT +1. The time now is 06:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.