OnWorks favicon

j2k_to_image - Online in the Cloud

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

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



j2k_to_image - This program reads in a jpeg2000 image and converts it to another image
type. It is part of the OpenJPEG library.

Valid input image extensions are .j2k, .jp2, .j2c, .jpt

Valid output image extensions are .bmp, .pgm, .pgx, .png, .pnm, .ppm, .raw, .tga, .tif .
For PNG resp. TIF it needs libpng resp. libtiff .


j2k_to_image -i infile.j2k -o outfile.png

j2k_to_image -ImgDir images/ -OutFor bmp

j2k_to_image -h Print help message and exit

See JPWL OPTIONS for special options


-i name
(jpeg2000 input file name)

-l n n is the maximum number of quality layers to decode. See LAYERS below)

-o name
(output file name with extension)

-r n (n is the highest resolution level to be discarded. See REDUCTION below)

-x name
(use name as index file and fill it)

-ImgDir directory_name
(directory containing input files)

-OutFor ext
(extension for output files)


Options usable only if the library has been compiled with -DUSE_JPWL

-W c[=Nc] (Nc is the number of expected components in the codestream; default:3)

-W t[=Nt] (Nt is the maximum number of tiles in the codestream; default:8192)

-W c[=Nc], t[=Nt] (same as above)


Set the number of highest resolution levels to be discarded. The image resolution is
effectively divided by 2 to the power of the number of discarded levels. The reduce factor
is limited by the smallest total number of decomposition levels among tiles.


Set the maximum number of quality layers to decode. If there are less quality layers than
the specified number, all the quality layers are decoded.


Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory, Universite
catholique de Louvain (UCL), Belgium
Copyright (c) 2002-2007, Professor Benoit Macq
Copyright (c) 2001-2003, David Janssens
Copyright (c) 2002-2003, Yannick Verschueren
Copyright (c) 2003-2007, Francois-Olivier Devaux and Antonin Descampe
Copyright (c) 2005, Herve Drolon, FreeImage Team
Copyright (c) 2006-2007, Parvatha Elangovan

Use j2k_to_image online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 2
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 3
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    Download OrangeFox
  • 4
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 5
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 6
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 7
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • More »

Linux commands