Bug #3125

NOCROP not respected

Added by planetmaker about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:2011-10-08
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

See the attached NML file arctic.nml and place it into OpenGFX' main dir.
I produce an nfo and a grf output via

nmlc -c --nfo arctic-nfo.nfo --grf arctic-nml.grf arctic.nml

de-compile the resulting grf file by means of grfcodec:

grfcodec -d arctic-nml.grf .

and compare the resulting nfo files arctic-nfo.nfo (from NML) and arctic-nml.nfo (from the grf produced by NML). The crop bit is not set when de-compiled from the grf.

arctic.nml - original NML file (33.2 KB) planetmaker, 2011-10-08 09:19

arctic-nml.nfo - nfo file produced by grfcodec -d arctic-nml.grf (16 KB) planetmaker, 2011-10-08 09:19

arctic-nfo.nfo - produced by nmlc -c --nfo arctic-nfo.nfo --grf arctic-nml.grf arctic.nml (23.2 KB) planetmaker, 2011-10-08 09:22

Associated revisions

Revision 1697:38640c1c245c
Added by yexo about 8 years ago

Fix #3125: preserve the NOCROP bit when encoding a grf file

Revision 1697:38640c1c245c
Added by yexo about 8 years ago

Fix #3125: preserve the NOCROP bit when encoding a grf file

History

#1 Updated by planetmaker about 8 years ago

  • File deleted (arctic-nml.nfo)

#2 Updated by planetmaker about 8 years ago

wrong file attached

#3 Updated by yexo about 8 years ago

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

Applied in changeset 38640c1c245c.

Also available in: Atom PDF