Skip to content

Bluescale transformer#19

Open
maschigokae wants to merge 27 commits intocodefellows-seattle-javascript-401d12:masterfrom
BatemanVO:bluescale
Open

Bluescale transformer#19
maschigokae wants to merge 27 commits intocodefellows-seattle-javascript-401d12:masterfrom
BatemanVO:bluescale

Conversation

@maschigokae
Copy link
Copy Markdown

Create bluescale transformer module.

BatemanVO and others added 27 commits December 9, 2016 10:02
Creates an object that then stores the color table as an array of bytes, offset from 54 to 1078.
Required in fs, bitmap-constructor, and invert-colors.
Created a color inverter test starting with the invertColorTable function. First it block checks if the values are within the range of 0-255.
…colorTable is equal to 255 - the new buffer's table.
Moved done() call to prevent false positives.
Changed test to account for color table positions in buffer instead of looking for values of a nonexistent array.
For loop was not running - needed to check data.colorTable.length, not data.length.
Inverter-test was trying to find a type of buffer, but couldn't figure out the logic for it. Instead checks that the buffer has a length greater than 0.
The linter is complaining about a variable being defined but not used, but it's a single function to export. Brian has already given the thumbs up on this particular error being ignored.
A small module that slices the command line arguments to remove node and -filename- from process.argv.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants