Re: Help: Graphic & Video Objects
Hi Dynasoft,
It is strange as I get the readings by one loop which is equal to the size of the file loaded in to the object. If that is the case then my readings would be wrong for every loop which is not the case. It is only when it reads any integer greater than 100h which I get the wrong readings. I have changed the color of the bmp and if there is no color value greater than 100 then the readings are correct.
I think it is a bug.
Regards
Re: Help: Graphic & Video Objects
Signed vs unsigned are only different for half the values. For bytes, this is 128 - 255 (unsigned) becomes -128 - -1 (signed). 0-127 work fine. This is what you are seeing.
Re: Help: Graphic & Video Objects
Hi Dynasoft,
You are right I am getting signed bytes out of the binary object. But then how this very object is useful in getting bytes? Does it mean that I always have to first check if the bytes are signed or unsigned and then convert the second half if signed integer? Is there any special reason in choosing the output to be signed or unsigned?
I think I will have to read more about use of these integers.
Thanks for your patience.
Re: Help: Graphic & Video Objects
Hi,
What is the path to a MMF2 built application’s temp directory? Is it possible to get the data output of video and graphic objects?
Thanks
Re: Help: Graphic & Video Objects
Hi,
I think I have not been clear enough with my question so I will try to put it somehow better.
In MMF 1.5, I could have access to the temp directory of my project via
As Appdrive$ + Appdir$ + "_Del.log"
I wonder how I can access to temp directory of my project in MMF2 and if there is a possibility of accessing the data output produced by the video or graphic objects I have used in my project. My task is to get access to the video output of a video object by accessing its pointers or reading the changes in value of the bytes reserved for the object. Is it somehow possible?
Thanks in advance
Re: Help: Graphic & Video Objects
Quote:
Originally Posted by Ham
In MMF 1.5, I could have access to the temp directory of my project via
As Appdrive$ + Appdir$ + "_Del.log"
I wonder how I can access to temp directory of my project in MMF2
The same thing works, though Apppath$ instead of "appdrive$+appdir$" is preferred now.
Quote:
Originally Posted by Ham
and if there is a possibility of accessing the data output produced by the video or graphic objects I have used in my project. My task is to get access to the video output of a video object by accessing its pointers or reading the changes in value of the bytes reserved for the object. Is it somehow possible?
Theoretically yes, in practice it might as well be impossible.
Re: Help: Graphic & Video Objects
>>Theoretically yes, in practice it might as well be impossible <<
Hi Dynasoft,
Thank you very much. Now I can put some time on it. You are a pearl.