IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#27 closed defect (fixed)

psImageFreePixels needed?

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

Description

I noticed that there is no function to (re)allocate pixel data for a psImage,
but there is a free function, psImageFreePixels.

Is this a mistake? Do you need a freePixels function if you don't have a
allocPixels function? Is it that you envision creating a number of children
images then freeing the parent image's pixel data to save memory?

Also, if one calls psImageFreePixels on a psImage, is numCols/numRows set to
zero? If not, do we need a function to determine if a psImage has a valid pixel
buffer allocated?

Change History (1)

comment:1 by eugene, 22 years ago

Resolution: fixed
Status: newclosed

psImageFreePixels not needed; removed from docs

Note: See TracTickets for help on using tickets.