Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

...

Key

Description

Possible Values

Default

Required (Yes/No)

enrichContent

Whether to enrich content images or not.

True/FalseTrueNo

enrichPerson

Whether to enrich person images or not.

True/FalseTrueNo

enrichOrganisation

Whether to enrich organisation images or not.

True/FalseTrueNo
 neededIOMetaTag Specific meta tag that is needed for a information object to be processed.TextNoneNo 
 neededImageMetaTag

Specific meta tag that is needed for a image to be processed.

TextNoneNo 

writeDimension

Switch to turn on writing of dimensions to original images.

True/FalseFalseNo

imageWidth

Width to scale images to.

Positive Number50No

imageHeight

Height to scale images to.

Positive Number50No

scaleMode

Mode of scaling according to Scalr.Mode.

AUTOMATIC, FIT_EXACT, FIT_TO_HEIGHT, FIT_TO_WIDTHAUTOMATICNo

scaleMethod

Method of scaling according to Scalr.Method.

AUTOMATIC, BALANCED, QUALITY, SPEED, ULTRA_QUALITY

AUTOMATICNo

createScaledImages

Switch to turn off creation of scaled images. E. g. to write only dimensions

True/FalseTrueNo

imageType

Type of the resulting scaled image.

jpg, png or gif according javax.imageio.ImageIOpngNo

Example:

Code Block
 <sources name="Small images"bundleId="org.sociotech.communitymashup.source.ScaledImagesSourceService" >
 
    <configuration>
        <properties Key="imageWidth" Value="25"/>
  
     <properties Key="scaleMode" Value="FIT_TO_WIDTH"/>
   
    <properties Key="scaleMethod" Value="QUALITY"/>
  
   </configuration>
    </sources>

Description

Creates 25px width versions of all images attached to information objects.

...

Type

Description

Value

Items

   
 MetaTagMetaTag attached to every created scaled image.

scaled_image

Images

Transformation

External

CommunityMashup