|
| Is there an API call or way.... |
 |
Mon, 14 Apr 2008 13:48:47 -070 |
Is there an API call or way to find the size of any image in pixels?
In explorer you see the A x B size listed there..... just wondered if
there way a way within SB to get this info.
Thanks in adnvance.
|
| Post Reply
|
| Re: Is there an API call or way.... |
 |
Mon, 14 Apr 2008 16:55:12 -060 |
Yes, if you don't find it in snippets I think I can dig it out of my code, but
it will take a day or so. I'm sure it has been posted.
On Mon, 14 Apr 2008 14:48:47 -0600, <tanos_8@hotmail.com> wrote:
> Is there an API call or way to find the size of any image in pixels?
>
> In explorer you see the A x B size listed there..... just wondered if
> there way a way within SB to get this info.
>
>
> Thanks in adnvance.
>
>
|
| Post Reply
|
| Re: Is there an API call or way.... |
 |
Tue, 15 Apr 2008 21:11:27 -070 |
Yes I found that, thanks. So little I work with is BMP anymore,
almost all JPG.... anything for that?
On Mon, 14 Apr 2008 16:55:12 -0600, "Peter Barus"
<peter@visualpricing.com> wrote:
>Yes, if you don't find it in snippets I think I can dig it out of my code,
but it will take a day or so. I'm sure it has been posted.
>
>
>
>On Mon, 14 Apr 2008 14:48:47 -0600, <tanos_8@hotmail.com> wrote:
>
>> Is there an API call or way to find the size of any image in pixels?
>>
>> In explorer you see the A x B size listed there..... just wondered if
>> there way a way within SB to get this info.
>>
>>
>> Thanks in adnvance.
>>
|
| Post Reply
|
| Re: Is there an API call or way.... |
 |
Wed, 16 Apr 2008 08:54:13 -060 |
Don't know.
On Tue, 15 Apr 2008 22:11:27 -0600, tony <tanos_8@hotmail.com> wrote:
> Yes I found that, thanks. So little I work with is BMP anymore,
> almost all JPG.... anything for that?
>
>
>
> On Mon, 14 Apr 2008 16:55:12 -0600, "Peter Barus"
> <peter@visualpricing.com> wrote:
>
>> Yes, if you don't find it in snippets I think I can dig it out of my
code, but it will take a day or so. I'm sure it has been posted.
>>
>>
>>
>> On Mon, 14 Apr 2008 14:48:47 -0600, <tanos_8@hotmail.com> wrote:
>>
>>> Is there an API call or way to find the size of any image in
pixels?
>>>
>>> In explorer you see the A x B size listed there..... just wondered
if
>>> there way a way within SB to get this info.
>>>
>>>
>>> Thanks in adnvance.
>>>
>>>
>
|
| Post Reply
|
| Re: Is there an API call or way.... |
 |
Wed, 16 Apr 2008 18:34:25 +010 |
JPEG's a pain when it comes to retrieving size - I've usually had a DLL
call available somewhere (such as the Lead Tools toolkit), but that's not
freeware.
I've just done a quick google, and it would be possible to write directly
in SB, but it's a bit of a pain - there's sample C code here, which shows
the convolutions requred: http://www.64lines.com/jpeg-width-height
It'd be easier if you could find a freeware DLL that'll return the info,
though.
Phil
On Wed, 16 Apr 2008 05:11:27 +0100, tony <tanos_8@hotmail.com> wrote:
> Yes I found that, thanks. So little I work with is BMP anymore,
> almost all JPG.... anything for that?
>
>
>
> On Mon, 14 Apr 2008 16:55:12 -0600, "Peter Barus"
> <peter@visualpricing.com> wrote:
>
>> Yes, if you don't find it in snippets I think I can dig it out of my
>> code, but it will take a day or so. I'm sure it has been posted.
>>
>>
>>
>> On Mon, 14 Apr 2008 14:48:47 -0600, <tanos_8@hotmail.com> wrote:
>>
>>> Is there an API call or way to find the size of any image in
pixels?
>>>
>>> In explorer you see the A x B size listed there..... just wondered
if
>>> there way a way within SB to get this info.
>>>
>>>
>>> Thanks in adnvance.
>>>
>>>
--
|
| Post Reply
|
|
|
|
|
|
|
|
|
|