Skip to content

This repository contains a Dockerfile for building a JPIP Server image containing the esajpip software used in the JHelioviewer project.

Notifications You must be signed in to change notification settings

josejuansanchez/docker-esajpip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-esajpip

This repository contains a Dockerfile for building a JPIP Server image containing the esajpip software used in the JHelioviewer project.

This Docker image is also available on Docker Hub josejuansanchez/esajpip:1.0.

ESA JPIP Server

The ESA JPIP server is capable to handle the following types of JPEG2000 image files: raw J2C, JP2 and JPX with or without hyperlinks. The codestreams of the images must comply with the following requirements:

  • No tiles partition is allowed.
  • The progression order must be LRCP, RLCP or RPCL.
  • PLT markers must be included with the information of all the packets.

If one image does not fit these requirements then it can not be served by this server. Moreover, although they are not mandatory, the following requirements are strongly recommended:

  • No tile-parts.
  • Use the RPCL progression order.
  • Use an appropriate precinct partition.

The ESA JPIP server does not transcode the images at all, serving them as it. Therefore the last requirement is particularly recommended for big images in order to improve the transmission efficiency. For resolution levels bigger than 1024x1024 precincts of 512x512 or 256x256 are recommended.

How to use

Run container in foreground specifying a port and a volume for the JPEG2000 images.

docker run -it --rm -p 8090:8090 -v $(pwd)/jp2/:/root/esajpip/images josejuansanchez/esajpip:1.0

Run container in foreground specifying a port, a volume for the JPEG2000 images and a volume for the log files.

docker run -it --rm -p 8090:8090 -v $(pwd)/jp2/:/root/esajpip/images -v $(pwd)/log:/root/esajpip/log josejuansanchez/esajpip:1.0

Run container in background specifying a port and a volume for the JPEG2000 images.

docker run -d --rm -p 8090:8090 -v $(pwd)/jp2/:/root/esajpip/images josejuansanchez/esajpip:1.0

Run container in background specifying a port, a volume for the JPEG2000 images and a volume for the log files.

docker run -d --rm -p 8090:8090 -v $(pwd)/jp2/:/root/esajpip/images -v $(pwd)/log:/root/esajpip/log josejuansanchez/esajpip:1.0

Docker Hub

https://hub.docker.com/r/josejuansanchez/esajpip

About

This repository contains a Dockerfile for building a JPIP Server image containing the esajpip software used in the JHelioviewer project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published