|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.images.SamplingFactory
public class SamplingFactory
| Field Summary | |
|---|---|
static int |
downsampleLevel
current setting - do not set directly |
static int |
high
(default setting) high will agressively reduce images bigger than twice their drawn size at 100% so a image which appears as 100x100 on the PDF but whose raw images is 250x250 will be stored as 125x125 image and not a 250x250 image |
static boolean |
isPrintDownsampleEnabled
current setting - do not set directly |
static int |
medium
medium will make sure images larger than page are reduced in size (often large scanned tiffs) |
static int |
none
do nothing |
static int |
print_disable
do not use down-sampling on printing |
static int |
print_enable
use down-sampling on printing (which is default) |
| Constructor Summary | |
|---|---|
SamplingFactory()
|
|
| Method Summary | |
|---|---|
static void |
setDownsampleMode(int newLevel)
PDFs contain images which may often be much larger than the actual space they occupy and they are reduced to fit the space alters image sampling to speed up program and reduce memory with the strategies high, medium, none, enable_printing, disable_printing |
static void |
setDownsampleMode(java.lang.String newLevel)
PDFs contain images which may often be much larger than the actual space they occupy and they are reduced to fit the space alters image sampling to speed up program and reduce memory in with the strategies "high","medium", "none", "enable_printing", "disable_printing" |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int none
public static int medium
public static int high
public static int print_enable
public static int print_disable
public static int downsampleLevel
public static boolean isPrintDownsampleEnabled
| Constructor Detail |
|---|
public SamplingFactory()
| Method Detail |
|---|
public static void setDownsampleMode(java.lang.String newLevel)
public static void setDownsampleMode(int newLevel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||