The Death Of Low-Resolution Pixel Art (Or, Draw That Death) This is an Irregular Webcomic! themed task.*


Death is a rather extensive orginization, and, although Head Death has had no trouble telling his employees apart, certain other entities connected to the orginization have had trouble keeping track of them all.

Thus, your task here is to, given the title of one of the various Deaths, generate the corresponding 32x32 pixel image of that Death.

Furthermore, as Head Death is rather bureaucratic (and a little bit stingy), the shortest program (after a few bonuses have been taken into account) will be the one chosen for official use.

Input must be case-insensitive. Additionally, the prefixes Death Of, Death By, and The Death Of should be treated as equivalent.

The output image may be saved to a file (in any lossless bitmap image format) or displayed on the screen.

The following are the EXACT RGB values to be used:

White 255 255 255
Black 0 0 0
Dark Gray 125 125 125
Bone Gray 170 170 170
Purple 60 0 140
Brown 120 40 0
Blue 0 80 200
Green 0 100 0
Neon Green 100 255 0
Red 0 255 0


(Note that no one Death uses all of those colors, and the only color which is common to all of them is bone gray)

Each output image shown here is shown first at actual size and then at 3x close-up.

You are required to support the following Deaths:

The Death of Insanely Overpowered Fireballs

 

The Death of Choking On A Giant Frog

 

Head Death

 

The Death of Being Wrestled To Death By Steve

 

The Death of Inhaling Hatmaking Chemicals

 

Charon

 

(Note that Charon's exact role in the organization is unknown)

You are not required to support the following Deaths, but may do so for various bonuses

Death by Having Your Pelvis Crushed (-8% bonus)

 

The Death of Being Ground By A Mars Rover Rock Abrasion Tool (-10% bonus)

 

The Death of Drowning in a Reactor Pool (-10% bonus)

 

The Death of Being Impaled By A Javelin (-8% bonus)

 

The Death of Being Stabbed By A Cutlass (-9% bonus)

 

The Death of Bad Pizza Deliveries (-7% bonus)

 

(Probably the only Death not to wear a cape. Don't ask me why.)

If you add include all of them, the final multiplier is 0.92*0.9*0.9*0.92*0.91*0.93≈0.58.

Additional Bonus

If you use an RGBA format and replace the white background with transparency, save an extra 12%.


  * Irregular Webcomic! is ©2002-Present David Morgan-Mar. CC BY-NC-SA.
JavaScript (ES6), 714 677.97 651.76 634.36 545.76 1063 - (8% * 10% * 10% * 8% * 9% * 7% * 12%) = 542.75
e=&gt;(e=e.slice(-4,-2),c=document.createElement(&quot;canvas&quot;),c.width=c.height=32,t=(r=&quot;000&quot;)=&gt;(o=c.getContext(&quot;2d&quot;)).fillStyle=&quot;#&quot;+r,r=(r,t,l=1,e=1)=&gt;o.fillRect(r,t,l,e),u=12,i=&quot;7d7d7d&quot;,t(),r(l=13,8,3),(n=!/ea|te|ca|ri|Po/.test(e))&amp;&amp;(r(l,6,3,5),r(u,7,5,3)),&quot;ca&quot;==e&amp;&amp;(r(l,3,3,3),r(u,6,5)),&quot;ri&quot;!=e&amp;&amp;(t(&quot;ea&quot;==e?&quot;3C008C&quot;:/te|Po/.test(e)?&quot;006400&quot;:&quot;&quot;),r(10,l,9,15+(&quot;ea&quot;==e)),r(11,u,7),r(u,11,5)),&quot;te&quot;==e&amp;&amp;(t(&quot;782800&quot;),r(u,6,5),r(l,5),r(15,5)),&quot;ri&quot;==e&amp;&amp;(t(&quot;f00&quot;),r(l,5,3,2),r(16,6)),t(&quot;aaa&quot;),r(l,7,3),r(l,9,3),r(m=14,8),r(m,u,1,u),r(u,u,5),r(l,m,3),r(l,16,3),r(l,18,3),r(l,20,3),r(l,24,3),r(u,25),r(16,25),r(11,26,1,6),r(17,26,1,6),r(17,l,1,8),n||r(m,10,1,2),/al|ar|sh|el|To/.test(e)?(r(8,u,4),t(),r(7,9,1,23),&quot;al&quot;==e&amp;&amp;(r(3,9,4,2),r(2,10,1,2)),&quot;sh&quot;==e&amp;&amp;r(2,8,6,4),&quot;el&quot;==e&amp;&amp;(r(6,6,3,4),r(7,4,1,2),r(5,8,5)),&quot;To&quot;==e&amp;&amp;(r(6,8,3,23),r(4,m,2,3),r(3,m),r(l,9,3),t(&quot;fff&quot;),r(6,9),r(5,15),t(&quot;0050c8&quot;),r(l,7,3,2),r(m,9))):&quot;la&quot;==e?(r(11,u),r(10,l),r(9,15,1,2),t(i),r(9,17,1,12),r(8,17),r(7,18),r(8,19)):r(11,l,1,8),&quot;Po&quot;==e&amp;&amp;(t(i),r(l,10,3),t(&quot;64ff00&quot;),r(u,7,5,3),r(l,6,3)),c.toDataURL())

Generates a data-url to a png of the image, and covers all of the bonuses.
EDIT: Just realized the bonus that a transparent background knocks off another 12%, which also reduces my byte count!