Configuring ResCarta System Properties

From ResCarta Software Wiki
Jump to: navigation, search

When you install or use the ResCarta Toolkit, a directory called .RcTools is created in your home directory. This directory contains configuration settings for the tools in a sub directory called config.

The C:\Users\{usesrname}\.RcTools\config\RcSystem.properties file on windows or /home/{usesrname}/.RcTools/config/RcSystem.properties file on most linux systems contains various configurable options for the Toolkit. A sample is listed below. Review your current RcSystem.properties file for the latest content and your ResCarta Toolkit documentation for options.

#-------------------------------------------------------------------------------

# ResCarta System Properties

#-------------------------------------------------------------------------------


# Note: Boolean property settings are true or false (not case sensitive).

# Paths MUST be specified using forward slash characters and NOT backward slash

# characters.


# JAI

com.sun.media.jai.tileCacheSizeMb=256

com.sun.media.jai.disableMediaLib=true


# JPEG compressed TIFF output

org.rescarta.image.tiff.jpeg=false


# JPEG quality setting is a number greater than 0 and less than or equal to 1.

org.rescarta.image.tiff.jpeg.quality=1.0

org.rescarta.image.tiff.jpeg.ycbcr=false


# ALTO

# If set to true text will stored in ALTO xml format.

# If set to false text will stored in TIFF headers.

org.rescarta.alto.output.enabled=false


#-------------------------------------------------------------------------------

# Data Conversion related properties

#-------------------------------------------------------------------------------


# Maximum number of threads to spawn during data conversion

#

# If set to 0, a thread will be spawned for each available core. If set to 1,

# multithreading will be disabled. The data conversion operation will never

# spawn more threads than the number of available cores.

org.rescarta.dct.maxThreads=3


# User defined per object pre-conversion JavaScript

#

# To enable, this property must contain a path to a JavaScript file that

# defines a function named rcPreConvert. The rcPreConvert function must take

# two parameters. The first parameter, of type java.io.File, is the source

# directory or file being converted. The second parameter, of type

# org.rescarta.metadata.RcObjectMetadata, is the metadata for the object being

# converted.

org.rescarta.dct.preConvertJavaScriptFile=


# Resampling to ResCarta standard resolutions

org.rescarta.image.resample=false


# JPedal PDF text extraction space detection threshold (default: 0.667)

#

# 1.0 equals the width of one space.

org.jpedal.extraction.text.spaceDetectionThreshold=0.667


# Ghostscript output logging

org.rescarta.gs.outputLogging=false


# Tolerant bit depth reduction

org.rescarta.image.bitDepthReduction=false

org.rescarta.image.bitDepthReductionReport=true


# Tolerant bit depth reduction - color tolerances

org.rescarta.image.bitDepthReduction.sampleDeviationTolerance=60

org.rescarta.image.bitDepthReduction.sampleDeviationCountTolerance=10


# Tolerant bit depth reduction - grayscale tolerances

org.rescarta.image.bitDepthReduction.grayHistogramAnalysisXAxisRangeBottom=25

org.rescarta.image.bitDepthReduction.grayHistogramAnalysisXAxisRangeTop=230

org.rescarta.image.bitDepthReduction.grayHistogramAnalysisYAxisRangeBottom=0.003

org.rescarta.image.bitDepthReduction.grayHistogramAnalysisTolerance=0.01


# Tolerant bit depth reduction - write histograms for images with a bit depth

# reduction recommendation of grayscale or binary.

org.rescarta.image.bitDepthReduction.writeGrayHistograms=false

Personal tools
Namespaces
Variants
Actions
Navigation
User Resources
Developer Resources
Toolbox