IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#111 closed defect (fixed)

psImageCopy and maintaining type if output parameter is NULL

Reported by: robert.desonia@… Owned by: eugene
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

In the latest SDRS, the following was added to the description for psImageCopy:

"If the output target pointer is NULL, the original data type must be maintained"

Why wouldn't the type parameter specify the resulting datatype in this case? It
seems to be a needless exception to the functionality where the parameter 'type'
dictates the resulting image's type.

Change History (2)

comment:1 by eugene, 22 years ago

Status: newassigned

this must be a relic. ignore that sentence.

perhaps psElemType needs to have a value which means 'keep the original type' so
you can use psImageCopy to copy an image without caring what the type is.

I guess in that case you just specify the type to be input->type. that is easy
enough, so let's just use that

comment:2 by eugene, 22 years ago

Resolution: fixed
Status: assignedclosed

updated in SDRS

Note: See TracTickets for help on using tickets.