Code Monkey home page Code Monkey logo

Comments (5)

ijxdb avatar ijxdb commented on May 24, 2024 1

I am using Thumbnailator lib to create thumbnails. But it fails to create thumbnail for cmyk images.

at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1068)

at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1039)

at net.coobird.thumbnailator.tasks.io.InputStreamImageSource.read(Unknown Source)

at net.coobird.thumbnailator.tasks.SourceSinkThumbnailTask.read(Unknown Source)

at net.coobird.thumbnailator.Thumbnailator.createThumbnail(Unknown Source)

at net.coobird.thumbnailator.Thumbnails$Builder.toOutputStream(Unknown Source)

at net.coobird.thumbnailator.Thumbnailator.createThumbnail(Unknown Source)

at net.coobird.thumbnailator.Thumbnailator.createThumbnail(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

javax.imageio.IIOException: javax.imageio.IIOException: Unsupported Image Type

Please can you suggest any work arounds?

from thumbnailator.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Sorry for the late reply.

Are you having a specific problem with the Thumbnailator library?

If your question is general question regarding converting a CMYK image to RGB 
in Java, then this is not appropriate venue for such questions.
(If this is the case, I would suggest searching for "cmyk to rgb java", and I 
believe there will be many answers available)

If you are having specific problems with the Thumbnailator library, please 
provide more specific information (type of image file, OS, Java version, etc.) 
so I can try to reproduce the issues you are experiencing.

Thank you in advance.

Original comment by [email protected] on 9 Jun 2012 at 6:37

from thumbnailator.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024

Original comment by [email protected] on 9 Jun 2012 at 6:44

  • Added labels: Type-Other
  • Removed labels: Type-Defect

from thumbnailator.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
I'll close this issue, as it has not had any activity for a few months.

Original comment by [email protected] on 1 Sep 2012 at 3:44

  • Changed state: WontFix

from thumbnailator.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Sorry for the late reply.

Thanks for your reply!

Original comment by [email protected] on 9 Jul 2015 at 2:45

from thumbnailator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.