You can get this information from header of this image file. Structure
of BMP is here: http://www.dcs.ed.ac.uk/home/mxr/gfx/2d/BMP.txt (found
with google.com)
M.N.
---
[EMAIL PROTECTED] wrote:
Hello, I'm PHPer from Korea.
I have a problem with GetImageSize function.
I wanted to know some informa
Hello, I'm PHPer from Korea.
I have a problem with GetImageSize function.
I wanted to know some information about BMP image.
So, I tried to use GetImageSize on PHP 4.0.5 , Linux.
But, it didn't work. GetImageSize function returned nothing.
Then, I tried it on PHP 4.0.6, Windows2000.
Ooops.. I
> I might have the same problem with PHP 4.0.5 (win2k). Some of the images
> from my Kodak DC-260 digital camera, are not recognized correctly by
> getimagesize for some reason..
>
> Example:
>
> $imagehw =
> GetImageSize("http://maasdelta.eve-software.com/foto/kinderspelen/P0007811.J
> PG
""Eric Knudstrup"" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am having an issue with 4.0.5 where the following code snippet:
>
> $orig = imagecreatefromjpeg($tmp);
> echo 'orig x: ' . imagesx($orig) . ' orig y: ' .
imagesy($ori
I think that was the first thing I tried.
It might have something to do with the actual image itself.
Images created with th PHP/GD routines come up with acceptable results.
Thanks,
Eric
Quoting Dan Lowe <[EMAIL PROTECTED]>:
> Previously, Eric Knudstrup said:
> > I am having an issue with 4.0.
I am having an issue with 4.0.5 where the following code snippet:
$orig = imagecreatefromjpeg($tmp);
echo 'orig x: ' . imagesx($orig) . ' orig y: ' . imagesy($orig)
. '';
$orig_size = getimagesize($tmp);
echo "orig x: $orig_size[0] orig y: $orig_si
On Sun, Jan 21, 2001 at 07:02:07PM +0100, Thies C. Arntzen wrote:
> On Sun, Jan 21, 2001 at 03:05:31PM +, Sue Bailey wrote:
> > I have a bunch of images living on one ISP's server which I want to use
> > on another page on another ISP's server, with GetImageSize. I RTFM, and
> > see "The filen
On Sun, Jan 21, 2001 at 03:05:31PM +, Sue Bailey wrote:
> I have a bunch of images living on one ISP's server which I want to use
> on another page on another ISP's server, with GetImageSize. I RTFM, and
> see "The filename needs to be either relative to the current document,
> or an absolute
endif chk for valid file types
# got the pic dimensions, close the file
fclose ($fd);
return array( $width,$height,$type );
} else
return array( '','','' );
}; file://endif valid file pointer chk
}; // end function
?>
Rom
- Original
Thanks Rom - I can get the pics with an img src tag, which is why I
assumed that GetImageSize would also work - but now I'm told it only
works on the local machine, so I guess I'll have to live with text
jumping about while pics download. :(
Romulo Roberto Pereira wrote:
>
> Hello!
>
> First -
Hello!
First - some ISP block you from get files from their server by a httpd
request (that is what php does... I think!). To be sure if this is set or
not, in the other ISP (not the one that the images are) write a simple html
like this:
loading images between servers
http://Domain/ImagesDir/I
I have a bunch of images living on one ISP's server which I want to use
on another page on another ISP's server, with GetImageSize. I RTFM, and
see "The filename needs to be either relative to the current document,
or an absolute filesystem path. Thus absolute URL paths will not work."
which is ab
12 matches
Mail list logo