blob: 05cedf7534d2ee6aedd43db0a8c4e92e53906a34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*
* $Id$
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
package org.apache.fop.pdf;
import java.io.IOException;
public interface PDFImage {
// key to look up XObject
public String getKey();
public void setup(PDFDocument doc);
// image size
public int getWidth();
public int getHeight();
// DeviceGray, DeviceRGB, or DeviceCMYK
public PDFColorSpace getColorSpace();
// bits per pixel
public int getBitsPerPixel();
public boolean isPS();
// For transparent images
public boolean isTransparent();
public PDFColor getTransparentColor();
public String getMask();
public String getSoftMask();
// get the image bytes, and bytes properties
public PDFStream getDataStream() throws IOException;
public PDFICCStream getICCStream();
}
|