EnglishFrenchSpanish

OnWorks favicon

ppmtoacad - Online in the Cloud

Run ppmtoacad in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ppmtoacad that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ppmtoacad - convert portable pixmap to AutoCAD database or slide

SYNOPSIS


ppmtoacad [-dxb] [-poly] [-background colour] [-white] [-aspect ratio] [-8] [ppmfile]

DESCRIPTION


Reads a portable pixmap as input. Produces an AutoCAD® slide file or binary database
import (.dxb) file as output. If no ppmfile is specified, input is read from standard
input.

OPTIONS


-dxb An AutoCAD binary database import (.dxb) file is written. This file is read with
the DXBIN command and, once loaded, becomes part of the AutoCAD geometrical
database and can be viewed and edited like any other object. Each sequence of
identical pixels becomes a separate object in the database; this can result in very
large AutoCAD drawing files. However, if you want to trace over a bitmap, it lets
you zoom and pan around the bitmap as you wish.

-poly If the -dxb option is not specified, the output of ppmtoacad is an AutoCAD slide
file. Normally each row of pixels is represented by an AutoCAD line entity. If
-poly is selected, the pixels are rendered as filled polygons. If the slide is
viewed on a display with higher resolution than the source pixmap, this will cause
the pixels to expand instead of appearing as discrete lines against the screen
background colour. Regrettably, this representation yields slide files which
occupy more disc space and take longer to display.

-background colour
Most AutoCAD display drivers can be configured to use any available colour as the
screen background. Some users perfer a black screen background, others white,
while splinter groups advocate burnt ocher, tawny puce, and shocking grey.
Discarding pixels whose closest AutoCAD colour representation is equal to the
background colour can substantially reduce the size of the AutoCAD database or
slide file needed to represent a bitmap. If no -background colour is specified,
the screen background colour is assumed to be black. Any AutoCAD colour number may
be specified as the screen background; colour numbers are assumed to specify the
hues defined in the standard AutoCAD 256 colour palette.

-white Since many AutoCAD users choose a white screen background, this option is provided
as a short-cut. Specifying -white is identical in effect to -background 7.

-aspect ratio
If the source pixmap had non-square pixels, the ratio of the pixel width to pixel
height should be specified as ratio. The resulting slide or .dxb file will be
corrected so that pixels on the AutoCAD screen will be square. For example, to
correct an image made for a 320x200 VGA/MCGA screen, specify -aspect 0.8333.

-8 Restricts the colours in the output file to the 8 RGB shades.

All flags can be abbreviated to their shortest unique prefix.

Use ppmtoacad online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad