#27 closed defect (fixed)
psImageFreePixels needed?
| Reported by: | 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?
Note:
See TracTickets
for help on using tickets.

psImageFreePixels not needed; removed from docs