Feature Request #4029

More information about white pixels

Added by Xotic750 over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:2012-06-20
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

It would be really useful if nmlc could provide some more detail about which line number of the nml code produced the following, so that one can track down an incorrect template or offset etc.

Currently output is like this:

"src/gfx/temperate_railwagons.png" at [x: 0, y: 60]: 8 of 105600 pixels (0%) are pure white
"src/gfx/temperate_railwagons.png" at [x: 16, y: 60]: 160 of 105600 pixels (0%) are pure white
"src/gfx/temperate_railwagons.png" at [x: 48, y: 60]: 280 of 105600 pixels (0%) are pure white
"src/gfx/temperate_railwagons.png" at [x: 96, y: 60]: 160 of 105600 pixels (0%) are pure white

It would be nice if it could out put something like this:

Line no:256:"src/gfx/temperate_railwagons.png" at [x: 0, y: 60]: 8 of 105600 pixels (0%) are pure white
Line no:1454:"src/gfx/temperate_railwagons.png" at [x: 16, y: 60]: 160 of 105600 pixels (0%) are pure white
Line no:10655:"src/gfx/temperate_railwagons.png" at [x: 48, y: 60]: 280 of 105600 pixels (0%) are pure white
Line no:20560:"src/gfx/temperate_railwagons.png" at [x: 96, y: 60]: 160 of 105600 pixels (0%) are pure white

Associated revisions

Revision 1896:57ea2c505959
Added by Hirundo over 5 years ago

Feature #4029: Report NML line information as well as pixel position for pure white pixels. Also, report number of pixels in the sprite, instead of the whole image. Closes #4029.

Revision 2013:19b9456981ae
Added by Hirundo over 5 years ago

Feature #4029: Report NML line information as well as pixel position for pure white pixels. Also, report number of pixels in the sprite, instead of the whole image. Closes #4029.

Revision 1896:57ea2c505959
Added by Hirundo over 5 years ago

Feature #4029: Report NML line information as well as pixel position for pure white pixels. Also, report number of pixels in the sprite, instead of the whole image. Closes #4029.

Revision 2013:19b9456981ae
Added by Hirundo over 5 years ago

Feature #4029: Report NML line information as well as pixel position for pure white pixels. Also, report number of pixels in the sprite, instead of the whole image. Closes #4029.

History

#1 Updated by Hirundo over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset 57ea2c505959.

Also available in: Atom PDF