"This procedure returns the tattoo associated with the specified channel. A tattoo is a unique and permanent identifier attached to a channel that can be used to uniquely identify a channel within an image even between sessions",

"Get the tattoo of the specified channel.",

"This procedure returns the specified channel's tattoo. A tattoo is a unique and permanent identifier attached to a channel that can be used to uniquely identify a channel within an image even between sessions.",

"Jay Cox",

"Jay Cox",

"1998",

...

...

@@ -840,3 +842,54 @@ static ProcRecord channel_get_tattoo_proc =

channel_get_tattoo_outargs,

{{channel_get_tattoo_invoker}}

};

staticArgument*

channel_set_tattoo_invoker(Argument*args)

{

gbooleansuccess=TRUE;

Channel*channel;

gint32tattoo;

channel=channel_get_ID(args[0].value.pdb_int);

if(channel==NULL)

success=FALSE;

tattoo=args[1].value.pdb_int;

if(tattoo==0)

success=FALSE;

if(success)

channel_set_tattoo(channel,tattoo);

returnprocedural_db_return_args(&channel_set_tattoo_proc,success);

}

staticProcArgchannel_set_tattoo_inargs[]=

{

{

PDB_CHANNEL,

"channel",

"The channel"

},

{

PDB_INT32,

"tattoo",

"The new channel tattoo"

}

};

staticProcRecordchannel_set_tattoo_proc=

{

"gimp_channel_set_tattoo",

"Set the tattoo of the specified channel.",

"This procedure sets the specified channel's tattoo. A tattoo is a unique and permanent identifier attached to a channel that can be used to uniquely identify a channel within an image even between sessions.",