What is the purpose of CxImage 3rdParty tool?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
DevJohan
Posts: 41
Joined: Sun Jul 13, 2014 2:36 pm
Location: Stockholm, Sweden

What is the purpose of CxImage 3rdParty tool?

Postby DevJohan » Wed Jul 16, 2014 5:21 pm

Hi everyone,

I have a question regarding the included 3rdparty code CxImage. What is this code used for? From some searches through the source the only reference to this I could find was in Tools/thumbs which seems to be some Windows platform specific project which isn't built. Is this project used and if so, what can it be used for?

cheers,
Johan
wmayer
Site Admin
Posts: 15756
Joined: Thu Feb 19, 2009 10:32 am

Re: What is the purpose of CxImage 3rdParty tool?

Postby wmayer » Wed Jul 16, 2014 5:32 pm

The CxImage is only used for a Windows thumbnailer. The utility "ThumbnailProvider" is a DLL which can be registered to Windows as a so called shell extension. This utility is able to create a preview image of an FCStd project file and CxImage is needed to convert the data into a format that Windows expects.
User avatar
DevJohan
Posts: 41
Joined: Sun Jul 13, 2014 2:36 pm
Location: Stockholm, Sweden

Re: What is the purpose of CxImage 3rdParty tool?

Postby DevJohan » Wed Jul 16, 2014 5:45 pm

Ok,

Thanks for the answer

/Johan