469,311 Members | 2,469 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,311 developers. It's quick & easy.

[wx] wxImage

Hello to everyone,
I want to know how many frames there's in a tiff file. I write:

img = wxImage(my_img, wxBITMAP_TYPE_TIF)
img.GetImageCount() (like the documentation say)

but an error occur: wxImage as non attribute 'GetImageCount'
is it right or I have problems?

I use wx 2.4.x

Thanks
Jul 18 '05 #1
2 1461
Michele Petrazzo wrote:
Hello to everyone,
I want to know how many frames there's in a tiff file. I write:

img = wxImage(my_img, wxBITMAP_TYPE_TIF)
img.GetImageCount() (like the documentation say)

but an error occur: wxImage as non attribute 'GetImageCount'
is it right or I have problems?

I use wx 2.4.x

Thanks


I have resolved the problem:

int = wxImage_GetImageCount(my_img, wxBITMAP_TYPE_TIF)

Bye,
Michele Petrazzo
Jul 18 '05 #2
Thanks. Now, I have no need for to search.
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Paradox | last post: by
4 posts views Thread by Robert | last post: by
1 post views Thread by MrQ | last post: by
reply views Thread by nbancajas | last post: by
jlm699
2 posts views Thread by jlm699 | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.