Skip to main content

Package does not exist error

1 reply [Last post]
nanduraj
Offline
Joined: 2006-09-06

I am working in jai platform for tiff imaging process.When I am writing the pixels from the image,i got 0 for White and 1 for Black.But actually I need 1 for white and 0 for black.So i planned to use, PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO field in
BaselineTIFFTagSet Class.But i got the following error
when i import the package com.sun.media.imageio.plugins.tiff .

Compiling:
import com.sun.media.imageio.plugins.tiff.*;
Error: package com.sun.media.imageio.plugins.tiff does not exist

Dut to this i unable to use any class in the above package.What is the problem,whether i missed to install any other jar file.I need the urgent solution.

Also provide any other solution for the above problem.
Thank you very much.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Burkhalter

Apparently your installation is incorrect. Please review the installation
notes and try again. Specifically you are missing the JAI Image I/O Tools
files (in jai_imageio.jar).

Brian

On Fri, 15 Sep 2006, jai-imageio@javadesktop.org wrote:

> I am working in jai platform for tiff imaging process.When I am writing the pixels from the image,i got 0 for White and 1 for Black.But actually I need 1 for white and 0 for black.So i planned to use, PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO field in
> BaselineTIFFTagSet Class.But i got the following error
> when i import the package com.sun.media.imageio.plugins.tiff .
>
> Compiling:
> import com.sun.media.imageio.plugins.tiff.*;
> Error: package com.sun.media.imageio.plugins.tiff does not exist
>
> Dut to this i unable to use any class in the above package.What is the problem,whether i missed to install any other jar file.I need the urgent solution.
>
> Also provide any other solution for the above problem.
> Thank you very much.
> [Message sent by forum member 'nanduraj' (nanduraj)]
>
> http://forums.java.net/jive/thread.jspa?messageID=153827
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

----------------
Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net