Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28370

    @Guest wrote:

    @PD4ML wrote:

    > but my image can’t get metadata with reader.getImageMetadata(0);.

    What kind of error it produces?

    reader.getImageMetadata is null so unable to proceed to next line of code.

    Any idea on this issue? I don’t know why I can’t get any information from Image Metadata.

    #28367

    Hi,

    I tried the CMYK to RGB conversion trick (CmykImageLoader.java) but my image can’t get metadata with reader.getImageMetadata(0);. Is there any others way for me to solve sun.awt.image.ImageFormatException: Unsupported color conversion request?

    ...
    if ("JPEG".equalsIgnoreCase(format) || "JPG".equalsIgnoreCase(format)) {

    IIOMetadata metadata = reader.getImageMetadata(0);
    String metadataFormat = metadata.getNativeMetadataFormatName();
    IIOMetadataNode iioNode = (IIOMetadataNode) metadata.getAsTree(metadataFormat);
    ...

    in reply to: Unable to use pd4ml.extra.resource.loaders
    #29793

    I’m having the same problem.

    How can I set value to “pd4ml.extra.resource.loaders”?

Viewing 3 posts - 1 through 3 (of 3 total)