devel-docs/gbr.txt applied a patch from Guillermo S. Romero that fixes

2003-09-03  Sven Neumann  <sven@gimp.org>

	* devel-docs/gbr.txt
	* plug-ins/common/gbr.c: applied a patch from Guillermo S. Romero
	that fixes loading of v1 brushes and documents the difference
	to version 2 of the brush file format (bug #121304).
This commit is contained in:
Sven Neumann
2003-09-03 16:59:22 +00:00
committed by Sven Neumann
parent 157dc58571
commit 4a3740e8ed
3 changed files with 97 additions and 80 deletions

View File

@ -47,3 +47,17 @@ BODY
Type: uchar *
Value: Pixel values (row-first) for brush
The GIMP Paintbrush File Format Version 1 (.gbr)
------------------------------------------------
Based on examples and code, it seems that v1 is like v2, but it is
lacking bytes 20 - 27 (no magic or spacing info), and thus having
as last header field:
Bytes 20 - (header_size - 20):
Type: char *
Value: undefined encoding string - name of brush
GBR v1 is deprecated and should never be used to save new brushes.