001/*
002 *  Licensed under the Apache License, Version 2.0 (the "License");
003 *  you may not use this file except in compliance with the License.
004 *  You may obtain a copy of the License at
005 *
006 *       http://www.apache.org/licenses/LICENSE-2.0
007 *
008 *  Unless required by applicable law or agreed to in writing, software
009 *  distributed under the License is distributed on an "AS IS" BASIS,
010 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
011 *  See the License for the specific language governing permissions and
012 *  limitations under the License.
013 *  under the License.
014 */
015
016package org.apache.commons.imaging.formats.pcx;
017
018import org.apache.commons.imaging.ImagingParameters;
019
020/**
021 * Parameters used by the Pcx format.
022 * @since 1.0-alpha3
023 */
024public class PcxImagingParameters extends ImagingParameters {
025
026    private int planes = -1;
027    private int bitDepth = -1;
028    private int compression = PcxConstants.PCX_COMPRESSION_UNCOMPRESSED;
029
030    public int getPlanes() {
031        return planes;
032    }
033
034    public void setPlanes(int planes) {
035        this.planes = planes;
036    }
037
038    public int getBitDepth() {
039        return bitDepth;
040    }
041
042    public void setBitDepth(int bitDepth) {
043        this.bitDepth = bitDepth;
044    }
045
046    public int getCompression() {
047        return compression;
048    }
049
050    public void setCompression(int compression) {
051        this.compression = compression;
052    }
053
054}