Click here to Skip to main content
15,884,628 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: This bug makes me want to cry Pin
Greg Utas13-Apr-21 1:00
professionalGreg Utas13-Apr-21 1:00 
GeneralRe: This bug makes me want to cry Pin
Daniel Pfeffer12-Apr-21 20:33
professionalDaniel Pfeffer12-Apr-21 20:33 
GeneralRe: This bug makes me want to cry Pin
honey the codewitch13-Apr-21 1:34
mvahoney the codewitch13-Apr-21 1:34 
GeneralRe: This bug makes me want to cry Pin
Fueled By Decaff12-Apr-21 5:22
Fueled By Decaff12-Apr-21 5:22 
GeneralRe: This bug makes me want to cry Pin
honey the codewitch12-Apr-21 5:25
mvahoney the codewitch12-Apr-21 5:25 
GeneralRe: This bug makes me want to cry Pin
Ron Nicholson12-Apr-21 5:25
professionalRon Nicholson12-Apr-21 5:25 
GeneralRe: This bug makes me want to cry Pin
Greg Utas12-Apr-21 5:28
professionalGreg Utas12-Apr-21 5:28 
GeneralRe: This bug makes me want to cry Pin
W Balboos, GHB12-Apr-21 5:38
W Balboos, GHB12-Apr-21 5:38 
Blowing a bit of smoke (pun?):

A few posters have shown discomfort with the idea of 2.25 bytes/pixel - I don't really understand their discomfort - the pixels are just there. Indeed, they are most easily grouped by the hardware/firmware in powers of two but that's only an artifact.

The problem, then, is that the artifact of basically all of our tools and abilities is geared towards powers of two and the data is not. Shyte, right ?

So, and here's the blowing smoke part - since you're going to commit a day of life to this (or so you threatened yourself). It's a matter of a proper set of masks - perched in an array that matches the pixel layout - but maybe the mask sizing should be larger than is usually intuitive. Find the lowest common multiple of 8 and 18 - and make that your mask size (at least to start) and then you simply (?) need to iterate through that array to isolate pixel (and/or their components).

You're much better at this than I, for sure, so the forgoing is an "out of the mouths of babes" type of suggestion.


Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: This bug makes me want to cry Pin
honey the codewitch12-Apr-21 5:50
mvahoney the codewitch12-Apr-21 5:50 
GeneralRe: This bug makes me want to cry Pin
Sander Rossel12-Apr-21 10:35
professionalSander Rossel12-Apr-21 10:35 
GeneralMessage Closed Pin
12-Apr-21 2:41
Maria Roye12-Apr-21 2:41 
GeneralRe: want to Learn Development Pin
Greg Utas12-Apr-21 3:04
professionalGreg Utas12-Apr-21 3:04 
GeneralRe: want to Learn Development Pin
Richard Deeming12-Apr-21 3:10
mveRichard Deeming12-Apr-21 3:10 
GeneralRe: want to Learn Development Pin
Greg Utas12-Apr-21 3:13
professionalGreg Utas12-Apr-21 3:13 
GeneralMessage Closed Pin
12-Apr-21 3:36
Maria Roye12-Apr-21 3:36 
GeneralRe: want to Learn Development Pin
Greg Utas12-Apr-21 3:44
professionalGreg Utas12-Apr-21 3:44 
GeneralRe: want to Learn Development Pin
Richard Deeming12-Apr-21 4:37
mveRichard Deeming12-Apr-21 4:37 
GeneralThis one is also hidden link spam Pin
OriginalGriff12-Apr-21 4:43
mveOriginalGriff12-Apr-21 4:43 
GeneralRe: want to Learn Development Pin
PIEBALDconsult12-Apr-21 3:04
mvePIEBALDconsult12-Apr-21 3:04 
GeneralRe: want to Learn Development Pin
Richard Deeming12-Apr-21 3:11
mveRichard Deeming12-Apr-21 3:11 
GeneralRe: want to Learn Development Pin
PIEBALDconsult12-Apr-21 3:14
mvePIEBALDconsult12-Apr-21 3:14 
GeneralRe: want to Learn Development Pin
Richard MacCutchan12-Apr-21 3:23
mveRichard MacCutchan12-Apr-21 3:23 
General[SPAM] want to Learn Development Pin
Richard Deeming12-Apr-21 3:11
mveRichard Deeming12-Apr-21 3:11 
GeneralRe: [SPAM] want to Learn Development Pin
OriginalGriff12-Apr-21 3:15
mveOriginalGriff12-Apr-21 3:15 
AnswerRe: want to Learn Development Pin
W Balboos, GHB12-Apr-21 3:14
W Balboos, GHB12-Apr-21 3:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.