You are here: Re: Any Intelligent Thoughts On This? « All PHP « IT news, forums, messages
Re: Any Intelligent Thoughts On This?

Posted by Jeckyl on 01/17/07 00:18

>>It was already correct .. I didn't fail to mention it .. you failed to
>>read
>>it .. see your own quote from me above.
> Actually you just have a horrible time explaining yourself and you
> make a lot of ASSumptions on the part of what your reader is seeing.
> I pray to the sweet baby Jesus that you don't ever inflict your
> horrible handicap onto the world by attempting to write a text book or
> teach a class on...well anything really.

In the case of what I posted, it was a simple single line formula:
>> var rgb : String = "0x" + ((r*256+g)*256+b).toString(16);
that you quoted and misread.

For the reply by another person (jasen, who you seem to think is me, you
must have misread) you simply misunderstood that the very plain English
phrase 'add them all up'. Surprisingly, that means to add up ALL the values
... ie all THREE values (ie the red that you multiplied by 65525, the green
you multiplied by 256, and the blue). Perhaps, in hindsight, given your
obvious problem in understanding the very basics, Jasen could have been more
explicit. I can only assume he thought he was communicating to someone who
had some reasonable amount of ability and understanding and a grasp of the
english language.

Please .. don't blame your own lack of ability to read simple formulas and
textual explanation on me (or others who you think are me). Especially as
you then accuse those others of misreading and skmming your own incomplete
(and often offensive) posts.

> So it is just meaningless (as far as the color representation)
> mathematical conversion to compress the image? LOL, and here I
> thought it was something more complex like the conversion of RGB to
> HSL.

It has nothing to do with compressing the image either. You still don't
seem to understand. Its just a way to express the red green and blue values
for a color into a single simple human-readable string. If you're doing
image processing, you would never need to convert to and from hex strings as
part of the processing, as you can work directly with the rgb values (as
either individual bytes, or as 24-bit words).

Also the conversion to and from hex has nothing to do with premultiplied RGB
values. That is purely an performance optimisation technique for image and
color manipulation. Something you claim to know about, but your response
here indicate to the contrary.
--
Jeckyl

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация