|
It's not *that* complicated.
How many channels does an RGB pixel have? The answer is right in the question.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: It's not *that* complicated. Said the person who wrote it
honey the codewitch wrote: sets the alpha channel
honey the codewitch wrote: How many channels does an RGB pixel have? Four, I guess, counting the alpha
honey the codewitch wrote: The answer is right in the question. Unless alpha isn't a channel and the answer really is three, it clearly doesn't
And by the way, your original post didn't mention RGB, just "setting the alpha channel"
"I am the Alpha and the Omega, the First and the Last, the Beginning and the End." (Revelation 22:13, and also your code)
|
|
|
|
|
It was 3 channels, because i didn't name an alpha in the question, but from your response you clearly understand the relationship between channels and pixels, and correctly deduced that an alpha channel would be the fourth channel if it had one.
Now, I didn't expect anyone to understand that much about my initial code without any context. I didn't provide the context because I didn't think understanding the code was exactly relevant, until more than one person decided it was. So here we are.
Real programmers use butterflies
|
|
|
|
|
|
Didn't he also do, "Hooked on a Feelin'"?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Yes, and several other hits.
Get me coffee and no one gets hurt!
|
|
|
|
|
|
Is this one of those scams like "Bill Gates is giving $50 to any person who forwards this e-mail"?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
No, I think the scam is making you use Bing ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
One thing I hate about Edge is the way it forces Microsoft onto you every time you open a new tab. There is no way to turn off the "Bing experience" when opening a new tab. I set the default search engine to Google, but the new tab page still uses Bing.
And it shows those "news" headlines at the bottom to bait some clicks. Can't stand it.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I think it works properly now just try to remove from add and remove.
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
Sounds like a scam to me.
|
|
|
|
|
obermd wrote: Sounds like a scam to me. Nope, it's legitimate. MS has been offering premiums to use Bing as a search engine -- earn points and redeem for various things. I get a $5 Amazon gift card every 3 weeks or so.
MS has been advertising the cashback deal for a while, but I haven't looked at it.
|
|
|
|
|
|
It must have come as a shock to the good burghers of Amsterdam to discover that not every tourist came to their fair city to see the artwork in the museums...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
Quote: Natashah Hitti | 5 December 2018 21 comments
You only just discovered this?
|
|
|
|
|
*singing* (99 bottles of beer on the wall)
99% on the progress bar
99 heckin percent
Gets me down, gives me a frown
99% on the progress bar
99% on the progress bar
99 heckin percent
Minutes go by, makes me wanna die
99% on the progress bar
99% on the progress bar
99 heckin percent
Is it really stuck, that's just my luck
99% on the progress bar
Real programmers use butterflies
|
|
|
|
|
Even when it gets to 100%, it still sits there for 10 minutes...
|
|
|
|
|
And then updates to 10%...
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Obligatory XKCD[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I don't even know a Hun.
*hides*
Real programmers use butterflies
|
|
|
|
|
I got better
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
if i gave a fig could you become a newton ? [^]
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Fie upon thee! I would not give even a fig of Spain for a fig of Newton!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|