macptopbm(1) General Commands Manual macptopbm(1)NAME
macptopbm - convert a MacPaint file into a portable bitmap
SYNOPSIS
macptopbm [-extraskip N] [macpfile]
DESCRIPTION
Reads a MacPaint file as input. Produces a portable bitmap as output.
OPTIONS -extraskip
This flag is to get around a problem with some methods of transferring files from the Mac world to the Unix world. Most of these
methods leave the Mac files alone, but a few of them add the "finderinfo" data onto the front of the Unix file. This means an extra
128 bytes to skip over when reading the file. The symptom to watch for is that the resulting PBM file looks shifted to one side.
If you get this, try -extraskip 128, and if that still doesn't look right try another value.
All flags can be abbreviated to their shortest unique prefix.
SEE ALSO picttoppm(1), pbmtomacp(1), pbm(5)AUTHOR
Copyright (C) 1988 by Jef Poskanzer. The MacPaint-reading code is copyright (c) 1987 by Patrick J. Naughton (naughton@wind.sun.com).
29 March 1989 macptopbm(1)
Check Out this Related Man Page
pbmreduce(1) General Commands Manual pbmreduce(1)NAME
pbmreduce - read a portable bitmap and reduce it N times
SYNOPSIS
pbmreduce [-floyd|-fs|-threshold ] [-value val] N [pbmfile]
DESCRIPTION
Reads a portable bitmap as input. Reduces it by a factor of N, and produces a portable bitmap as output.
pbmreduce duplicates a lot of the functionality of pgmtopbm; you could do something like pnmscale | pgmtopbm, but pbmreduce is a lot
faster.
pbmreduce can be used to "re-halftone" an image. Let's say you have a scanner that only produces black&white, not grayscale, and it does a
terrible job of halftoning (most b&w scanners fit this description). One way to fix the halftoning is to scan at the highest possible res-
olution, say 300 dpi, and then reduce by a factor of three or so using pbmreduce. You can even correct the brightness of an image, by
using the -value flag.
OPTIONS
By default, the halftoning after the reduction is done via boustrophedonic Floyd-Steinberg error diffusion; however, the -threshold flag
can be used to specify simple thresholding. This gives better results when reducing line drawings.
The -value flag alters the thresholding value for all quantizations. It should be a real number between 0 and 1. Above 0.5 means darker
images; below 0.5 means lighter.
All flags can be abbreviated to their shortest unique prefix.
SEE ALSO pnmenlarge(1), pnmscale(1), pgmtopbm(1), pbm(5)AUTHOR
Copyright (C) 1988 by Jef Poskanzer.
02 August 1989 pbmreduce(1)
Are the Terminal commands used in Mac OS 10.1.3 the same as those found on a real Unix system? if they are, what book would you recommend as a terminal refferance guide?
I already have 'The Missing Manual' by O'Reilly, but there ain't much in terms of managing the system via the terminal :(
... (9 Replies)
Hi
I'm having a problemm with reading cdrw under red hat7.3, someone told me something about Juliette but i got no idea how to fix it. Linux generaly seems to have a problem with reading cdr burn under win. (5 Replies)
Hello,
I'm relatively new to the whole Linux/Unix world, so please pardon me ignorance in some questions.
An associate of mine and I are having a rather heated debate about the origins of Unix and the Windows NT family. I say NT was spawned out of OS/2 and the fall out with IBM.
He says... (3 Replies)
Hi,
as a Mac OS X user I am not into Unix at all. But since it is possible to run Unix application on Mac I am specialy interested in a program making scientifical graphs. There is SigmaPlot for WIN PC´s and this is more or less what I would like to use.
So, here comes the question: is there a... (3 Replies)
Okay I have been doing some research on this and have been trying to figure out how much Unix is actually behind OSX and how much has been custom made to the Mac. The reason I was wondering is with Photoshop and Dreamweaver moving over to OSX platform I wondered if there might be a chance they will... (4 Replies)
Just "getting my feet wet" so to to speak in the Unix world. I have a couple of basic questions:
1). I am logged in as "root" and have verified that I am at the top of the directory "/". I do a cd to the "etc" sub-directory and verify that I am there only to discover that "private" is appended... (5 Replies)
I have been wanting to get much deaper into the world of computers for quite some time. I know a lot of c++, and plenty of website programming, and decided that the next step should be Unix.
But here's the thing - I know nothing about Unix. I installed it and everything, but it just seemed like... (3 Replies)
I'm somewhat new to the world of Unix (about 8-9 months of exp, but 11 years in IT). I would like to work as a contractor performing Unix or Linux support work, but I'm not sure what kind of rates to expect. Can anyone out there give me an idea of what Unix contractors make in your perspective... (4 Replies)
Hello. Somehow I got out of my gui Mac OS 10.2 into Unix single-user mode. No matter what I've tried, I can't get out of Unix. I've tried the command "reboot" with no success. I've tried a safe boot, an X boot, and a couple of others and nothing seems to work. I can use the Unix commands to... (4 Replies)
Hi all, and thanks for viewing this thread.
I have never used the terminal (UNIX) before, not until I read an introductory book about it: Unix for Mac OS X Tiger. Now I've become intrigued, and I want to uncover more of the mysteries of Unix. I've searched and searched, but there are many books... (5 Replies)
I know how to install Unix or Linux on my Mac using bootcamp, I installed the Ubuntu distribution of Linux on my Mac. Basically I'm looking for advice on what OS I should learn with. I am fiercely interested in programming, and am learning C++ and Python at the moment.
Anyways, everyone has... (5 Replies)
Hello. I own a MacBook (black) running Leopard (Mac OS X 10.5.8), and I'm curious about a few things -- any help will be very, very much appreciated. I'm pretty much a newbie to Unix, although I have some very basic command-line skills with Mac OS X's Terminal. So while I know how to work the... (13 Replies)
I'm new to the Unix/Linux world. I have taken classes and played with a few simple scripts but never had a real world application. Here is my problem.
What I need to do is every 15min between 8am and 5pm, run
tcpdump -s 2000 -w flowroute-0000.pcap
where the "0000" is the current time.
... (4 Replies)
Hi. I'm new to Unix and recently received Unix files via email. I downloaded those files but am unable to open them on my computer which uses Mac OS X. How do I open the files? (11 Replies)