3
Making Images From The Command Line
- Scan The Image
- Move the Image to your UNIX machine
- Start ImageMagick
- Convert is not graphical, so you can run it remotely from a lab PC
prompt % convert filename.tiff filename.jpg
For more info, man convert - It is safer to copy your image and make your changes on the copy
prompt % cp file1.tiff file2.tiff
- This is the stage where you decide what format your file is going to be
JPG, GIF, XBM
- Convert is not graphical, so you can run it remotely from a lab PC
- Size to fit, if wished
- Mogrify -- for more info, man mogrify
prompt % mogrify -geometry 50% filename.jpg
For more information, man mogrify
- Mogrify -- for more info, man mogrify
- View Your Work
- Since there's no graphical interface, the best way to see your work is by using your web browser (Netscape, HotJava), but to do so, you have to set up your web space.
- Set Up Your Web Space
- ~you/public-web/images
- webinit -- More info on this at https://engineering.purdue.edu/ECN/FAQ/hierarchy/internet/web_authoring/personalHomepage
- Make the Image world-readable
prompt % chmod 644 filename.jpg