Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1478

Re: Defining pixelValue

From Knute Johnson <nospam@knutejohnson.com>
Newsgroups comp.lang.java.help
Subject Re: Defining pixelValue
Date 2011-12-24 11:57 -0800
Organization A noiseless patient Spider
Message-ID <jd5ar8$85m$1@dont-email.me> (permalink)
References <341861a6-18e3-40ec-8185-f3c477e11ef4@u32g2000yqe.googlegroups.com> <nospam-594D30.01362124122011@news.aioe.org> <jd4vad$9rk$1@dont-email.me> <nospam-9B8837.12040624122011@news.aioe.org>

Show all headers | View raw


On 12/24/2011 9:04 AM, John B. Matthews wrote:
> In article<jd4vad$9rk$1@dont-email.me>,
>   Knute Johnson<nospam@knutejohnson.com>  wrote:
>
>> On 12/23/2011 10:36 PM, John B. Matthews wrote:
>>> In article
>>> <341861a6-18e3-40ec-8185-f3c477e11ef4@u32g2000yqe.googlegroups.com>,
>>>    bH<bherbst65@hotmail.com>   wrote:
>>>
>>>> "ImageIO.write(image, "jpg", new File("D://test.jpg"));"
>>>>
>>>> This single line coding  resulted in the
>>>> image being correctly moved to the destination,
>>>> but the image details had a pink shading over the entire
>>>> image, similar to having rose(pink) colored lenses
>>>> in my sun glasses and looking at the image, which was
>>>> not what I wanted.
>>>
>>> This Q&A discusses the problem:
>>>
>>> <http://stackoverflow.com/q/6122964/230513>
>>>
>>
>> Doing a ColorConvertOp to make it a compatible image will fix that as well.
>
> Ah, now I see; thank you. Your method has the salutary benefit of
> skipping the conversion if it proves unnecessary.
>
> <http://groups.google.com/group/comp.lang.java.help/msg/bf9c8aa1e05d9f24>
>

I have to admit, it being Christmas and all, that I stole that code :-). 
  But it works great!

-- 

Knute Johnson

Back to comp.lang.java.help | Previous | NextPrevious in thread | Find similar


Thread

Defining pixelValue bH <bherbst65@hotmail.com> - 2011-12-23 15:46 -0800
  Re: Defining pixelValue markspace <-@.> - 2011-12-23 16:14 -0800
    Re: Defining pixelValue bH <bherbst65@hotmail.com> - 2011-12-23 16:30 -0800
  Re: Defining pixelValue "John B. Matthews" <nospam@nospam.invalid> - 2011-12-24 01:36 -0500
    Re: Defining pixelValue Knute Johnson <nospam@knutejohnson.com> - 2011-12-24 08:40 -0800
      Re: Defining pixelValue "John B. Matthews" <nospam@nospam.invalid> - 2011-12-24 12:04 -0500
        Re: Defining pixelValue Knute Johnson <nospam@knutejohnson.com> - 2011-12-24 11:57 -0800

csiph-web