#609 closed defect (fixed)
psImageCopy does not preserve row0,col0
| Reported by: | eugene | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | imageops | Version: | 0.8.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
psImageCopy in psImageStructManip.c does not preserve row0,col0 as it should
according to the spec. Adding these lines fixes this (added to eam_rel8_b3):
* 178,183
--- 178,185 ----
elementSize = PSELEMTYPE_SIZEOF(inDatatype);
output = psImageRecycle(output, numCols, numRows, type);
+ output->col0 = input->col0;
+ output->row0 = input->row0;
cover the trival case of copy of the same
datatype.
Note:
See TracTickets
for help on using tickets.

Fix integrated into CVS trunk.