I’ve the same problem posted some days ago by Rob Krten:
When querying a graphic file by setting PX_QUERY with PxLoadImage
the library effectively consumes as ram as a normal PxLoadImage.
Plus another question:
Do I should release the image after querying a file?
Actually I’m querying a big number of files for determining the
biggest one, but I’ve found that I should release the image
after querying it or ram goes to the creator…
Also, time spent to querying a graphic file is the same as loading
it normally.
I’ve the same problem posted some days ago by Rob Krten:
When querying a graphic file by setting PX_QUERY with PxLoadImage
the library effectively consumes as ram as a normal PxLoadImage.
AFAIK, they are still looking into it. I was given a library to
try, but alas it did not fix the problem
Plus another question:
Do I should release the image after querying a file?
You mean with the buggy version or with the correct version?
With the correct version, there will not be an image to free
Actually I’m querying a big number of files for determining the
biggest one, but I’ve found that I should release the image
after querying it or ram goes to the creator…
That’s the bug
Also, time spent to querying a graphic file is the same as loading
it normally.
Because of the bug…
So what’s the difference with PX_QUERY?
It shouldn’t load it, just give you the data.
If you want an example of a bunch of stuff (granted, in QNX 4 Photon 1.14
but it’s almost identical in QNX 6 Photon 2) take a look at www.parse.com
in the “Free stuff” section under the “Graphics” section for:
aview – animation viewer, shows PX_QUERY usage
fx – still image effects processor (also shows usage)
Cheers,
-RK
–
Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
You mean with the buggy version or with the correct version?
With the correct version, there will not be an image to free >
This “bug” sounds new to me.
QSSL still doesn’t use some kind of spray to kill them.
It’s full of bug out there
Actually I’m querying a big number of files for determining the
biggest one, but I’ve found that I should release the image
after querying it or ram goes to the creator…
That’s the bug >
Ok, so now I must have the buggy library :/.
Is there a “fixed” library somewhere? Or you refer to the fixed
one as the photon 1.x?
So what’s the difference with PX_QUERY?
It shouldn’t load it, just give you the data.
Yes, that’s exacly what a developer might expect, but not what the
library does .