picture_alloc_with_edges can be misleading

The name make you assume the function allocates the memory to include the edges, this is not the case.