EnglishFrenchSpanish

OnWorks favicon

pfscut - Online in the Cloud

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

This is the command pfscut 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


pfscut - Extract a rectangle out of a frame in PFS stream

SYNOPSIS


pfscut [--left <columns>] [--right <columns>] [--top <rows>] [--bottom <rows>] [--width
<new_width>] [--height <new_height>] [--help] [x_ul y_ul x_br y_br]

DESCRIPTION


Extract a rectangle out of each frame in PFS stream. You can either specify x and y
coordinates of upper left and lower right corner (the coordinates start with 0 and rise in
the left-to-right and up-to-botton directions) or give a combination of the options listed
below.

OPTIONS


--left <columns>, -l <columns>
Number of columns to be cut out from the left edge of an image.

--right <columns>, -r <columns>
Number of columns to be cut out from the right edge of an image.

--top <rows>, -t <rows>
Number of rows to be cut out from the top edge of an image.

--bottom <rows>, -b <rows>
Number of rows to be cut out from the bottom edge of an image.

--width <new_width>, -W <new_width>
Width of an output image. Note that --width can be mixed with either --left or
--right option.

--height <new_height>, -H <new_height>
Height of an output image. Note that --height can be mixed with either --top or
--bottom option.

--help, -h
Print a list of commandline options.

EXAMPLES


pfsin image.hdr | pfscut --left 20 --top 5 | pfsout out.hdr
Cut out 20 columns from the left and 5 rows from the top edge of image.hdr and save
frame as out.hdr.

pfsin image.hdr | pfscut --left 20 --width 400 | pfsout out.hdr
Cut out 20 columns from the left edge of image.hdr, and create output image 400
pixels in width.

pfsin image.hdr | pfscut 0 0 511 511 | pfsout out.hdr
Cut left-upper part of the image of the size 512x512 (note that coordinates start
with 0 and 512 is the last row/column that is included in the resulting image).

SEE ALSO
pfsin(1) pfsout(1)

Use pfscut online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad