aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/AlphaRasterImage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/AlphaRasterImage.java')
-rw-r--r--src/java/org/apache/fop/pdf/AlphaRasterImage.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/pdf/AlphaRasterImage.java b/src/java/org/apache/fop/pdf/AlphaRasterImage.java
index 0b83cc3d6..ae39cadb7 100644
--- a/src/java/org/apache/fop/pdf/AlphaRasterImage.java
+++ b/src/java/org/apache/fop/pdf/AlphaRasterImage.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -16,7 +16,7 @@
*/
/* $Id$ */
-
+
package org.apache.fop.pdf;
import java.awt.image.DataBuffer;
@@ -33,7 +33,7 @@ import org.apache.xmlgraphics.image.GraphicsUtil;
* PDFImage implementation for alpha channel "images".
*/
public class AlphaRasterImage implements PDFImage {
-
+
private int bitsPerComponent;
private PDFDeviceColorSpace colorSpace;
private Raster alpha;
@@ -117,7 +117,7 @@ public class AlphaRasterImage implements PDFImage {
public String getSoftMask() {
return null;
}
-
+
/** {@inheritDoc} */
public PDFReference getSoftMaskReference() {
return null;
@@ -127,12 +127,12 @@ public class AlphaRasterImage implements PDFImage {
public boolean isInverted() {
return false;
}
-
+
/** {@inheritDoc} */
public void outputContents(OutputStream out) throws IOException {
int w = getWidth();
int h = getHeight();
-
+
//Check Raster
int nbands = alpha.getNumBands();
if (nbands != 1) {
@@ -171,7 +171,7 @@ public class AlphaRasterImage implements PDFImage {
}
}
-
+
/** {@inheritDoc} */
public void populateXObjectDictionary(PDFDictionary dict) {
//nop