Package com.volantis.map.ics.imageprocessor.writer

Examples of com.volantis.map.ics.imageprocessor.writer.ImageWriterException


                    ImageRule.TRUECOLOUR);
            RenderedOp converted = cvt.convert(ops[0], null);
            return super.outputImage(new RenderedOp[]{converted}, params, os);
        } catch (Exception e) {
            LOGGER.error("image-encoding-error", e.toString());
            throw new ImageWriterException(e);
        }
    }
View Full Code Here


            params.setParameterValue(
                ParameterNames.OUTPUT_IMAGE_MIME_TYPE, mimeType());
            return outputImage(ops, params, os);
        } catch (Exception e) {
            LOGGER.error("image-writing-failure", e.toString());
            throw new ImageWriterException(e);
        }
    }
View Full Code Here

                        " size: "+ os.getSize() + " bytes.");
            }

        } catch (Exception e) {
            LOGGER.error("image-writing-failure", e.toString());
            throw new ImageWriterException(e);
        }
        return os;
    }
View Full Code Here

            p.setParameter("WriteParam", getImageWriteParam(image, params));
            JAI.create("ImageWrite", p);

        } catch (Exception e) {
            LOGGER.error("jai-operation-failure", "ImageWrite");
            throw new ImageWriterException(e);
        }
    }
View Full Code Here

                RenderedOp tmp = converter.convert(image[frameCount], params);
                convertedImage[frameCount] = conditionImage(tmp, params);            
            }
            return convertedImage;
        } catch (Exception e) {
            throw new ImageWriterException(e);
        }
    }
View Full Code Here

            } else {
                super.outputImage(ops, params, os);
            }
        } catch (Exception e) {
            LOGGER.error("image-writing-failure", e.toString());
            throw new ImageWriterException(e);
        }
        return os;
    }
View Full Code Here

                    hints);


            } catch (Exception e) {
                LOGGER.error("image-encoding-error", e.toString());
                throw new ImageWriterException(e);
            }
            return super.outputImage(new RenderedOp[]{converted}, params, os);
        } catch (Exception e) {
            LOGGER.error("image-writing-failure", e.toString());
            throw new ImageWriterException(e);
        }
    }
View Full Code Here

                shrinkImage(noTrans, params, DEFAULT_QUALITY, os);
            }
            return os;
        } catch (Exception e) {
            LOGGER.error("image-writing-failure", e.toString());
            throw new ImageWriterException(e);
        }
    }
View Full Code Here

            os.reset();
            os.mark();
            outputFrame(os, src, getFileFormat(), params);
        } catch (Exception e) {
            LOGGER.error("image-writing-failure", e.toString());
            throw new ImageWriterException(e);
        }
        return os;
    }
View Full Code Here

                return true;
            } else {
                return false;
            }
        } catch (Exception e) {
            throw new ImageWriterException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.map.ics.imageprocessor.writer.ImageWriterException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.