M
Marcelo
Hello,
I am trying to modify some color information from java to C.
I have the information given by java in a format ARGB and I would like to
convert it as:
RRRR...GGGG...BBB....
without the A composant. Separating the A,R,G,B part is not hard. My main
problem is the size of my images.
I have something like
jsize len = env -> GetArrayLength(arr);
where len = 3145728 (for a given image The width 2048, the height 1536)
I have tried to put it inside a unsigned char variable vector, but it doesn't
work well. I seems like that's a lot of memory (Eclipse just stops executing the
jni program).
Do you have an idea in order to bypass this "memory" problem ?
thanks a lot,
Marcelo
I am trying to modify some color information from java to C.
I have the information given by java in a format ARGB and I would like to
convert it as:
RRRR...GGGG...BBB....
without the A composant. Separating the A,R,G,B part is not hard. My main
problem is the size of my images.
I have something like
jsize len = env -> GetArrayLength(arr);
where len = 3145728 (for a given image The width 2048, the height 1536)
I have tried to put it inside a unsigned char variable vector, but it doesn't
work well. I seems like that's a lot of memory (Eclipse just stops executing the
jni program).
Do you have an idea in order to bypass this "memory" problem ?
thanks a lot,
Marcelo