I need to know the dimensions of an image file, that is placed on a disk.
I will do this using an InStream, as Søren Nielsen has created a method for here.
I have imported the image to a blob temporarily.
According to the specs, the Value variable in this function should be Binary100, but I cannot get it to compile.
It says that Binary is not supported??
The function looks like this.
GetBitmapWidth(inStr : InStream) Width : Integer inStr.READ(value); Width := value; Width += value * 256; Width += value * 256 * 256; Width += value * 256 * 256 * 256;
Anyone have any ideas?