Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91413

Re: Getting an image from a file on windows

Date 2015-05-29 01:36 +0100
From MRAB <python@mrabarnett.plus.com>
Subject Re: Getting an image from a file on windows
References <2dc4ea02-496f-41da-a287-63f178450c0e@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.150.1432859817.5151.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-05-29 01:03, IronManMark20 wrote:
> Hello,
>
> I have been working on a function that gets a bitmap of the thumbnail
> for a file. I have had problems getting a large image (256x256) and I
> was wondering if someone could help me on one object initialization
> that is driving me nuts.
>
> I have code here:
> https://gist.github.com/IronManMark20/a83fe7ff7ea9b40c09af
>
> I need to initialize a *void pointer for the third argument for
> SHGetImageList (ref
> https://msdn.microsoft.com/en-us/library/bb762185).
>
> What should the initialization look like (please give me example
> code, not just "Oh it should be a ctypes.c_void_p").
>
> Thanks!!!
>
Have you tried byref(hico)?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Getting an image from a file on windows IronManMark20 <mr.smittye@gmail.com> - 2015-05-28 17:03 -0700
  Re: Getting an image from a file on windows MRAB <python@mrabarnett.plus.com> - 2015-05-29 01:36 +0100
    Re: Getting an image from a file on windows IronManMark20 <mr.smittye@gmail.com> - 2015-05-28 18:39 -0700
    Re: Getting an image from a file on windows IronManMark20 <mr.smittye@gmail.com> - 2015-05-28 20:41 -0700

csiph-web