[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] access validation writing an image File without RGBA
From: |
Miquel Salvà Vila |
Subject: |
[Openexr-devel] access validation writing an image File without RGBA |
Date: |
Tue, 08 Nov 2005 17:14:06 +0100 |
Hi
I just managed to load and save image files using the RGBA interface.
Now i have to save the depth information as well so i use the General
Interface.
I am following the 3.1 example in the pdf document "Reading and writing
image Files" from the www.openEXR.com webpage.
My project crashes when trying to insert the firs Slice in the frame buffer
with the instruction
frameBuffer.insert ("R",Slice (HALF,(char *) vR, sizeof (*vR) * 1,sizeof
(*vR) * width));
where vR is declared as Array2D<half> vR(600,600);
and width is an integer of 600.
the error produced is:
Unhandled exception at 0x0042c5ab in paint.exe: 0xC0000005: Access violation
reading location 0x00000004.
I hope somebody could help me. I f u need more information just said me.
Thanks for all
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Openexr-devel] access validation writing an image File without RGBA,
Miquel Salvà Vila <=