image-js
Version:
Image processing and manipulation in JavaScript
13 lines • 365 B
JavaScript
/**
* Convert object points into array points.
* @param points - Array of points as objects.
* @returns Array of points as arrays.
*/
export function arrayPointsToObjects(points) {
const result = [];
for (const point of points) {
result.push([point.column, point.row]);
}
return result;
}
//# sourceMappingURL=arrayPointsToObjects.js.map