Working around missing QuickTime support?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/06/2007 at 12:17, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R10 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Well, it seems that both Windows 64-bit and Windows Vista users are stuck without proper QuickTime support for image files loaded as thumbnails in my plugin. This pertains to PICT and PNG file formats.

So, I'm considering a workaround for this. It would involve an image processing library and then a shoe-horn (conversion) of the library's bitmap into a Cinema 4D BaseBitmap.

The best bet so far is paintlib with libpng (already have zlib as part of the project) as paintlib supports PICT and PNG (through libpng). I have not even started to consider if these will work and work in Vista/64-bit. Can anyone please refer other possible libraries that would be Windows 64-bit/Vista compatible? Anyone else with experience here?

Afaiac, Apple needs to get on the ball here. I've been waiting for Windows 64-bit QuickTime support since, well, Windows 64-bit was released (that's more than a year, people). And with official Windows 64-bit versions of Vista, it sort of screams for Apple to get off their arses! 😉 Why should lowly me be doing Jobs multi-million dollar salary work? Git 'er done!

Thank you very much,
Robert

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 07/06/2007 at 09:19, xxxxxxxx wrote:

Hello? 😉

Nothing very useful yet.

Paintlib requires C++ Exception Handling - something that I'm trying to avoid altogether with C4D plugins and much too big to edit to remove them.

libPNG is C and has issues with C++ (but I am searching for a C++ wrapper - hopefully without exception handling). Even with that, PICT support would be unavailable.

I have found nothing (besides PaintLib) that supports PICT reading. ImageMagick was a possibility, but it is really an application with an API - and requires installation and configuration to boot. I'm not doing ImageMagick tech support ontop of that for my plugins!

All that I want is plain C/C++ code to read PNG and PICT into a bitmap that can be somehow copy-converted into Cinema 4D BaseBitmap memory.

Help!

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/06/2007 at 00:51, xxxxxxxx wrote:

Sorry, absolutely no clue. This is definetly not my metier. My very guess would have been Paintlib too, but I don´t have any experience with it.

No help, but a sign of life at least! 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/06/2007 at 21:35, xxxxxxxx wrote:

Unfortunately, Paintlib is a mess with missing source/header files and other problems.

For PNG support, libpng is it. Wow! It loads PNGs (even with alpha channels) 5+ times faster than the QuickTime support used by Cinema 4D. I am converting all of my version support to use it instead.

If anyone needs such support for 64-bit Windows (or generally in Cinema 4D), I'd be happy to forward my source.

Thanks,

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/06/2007 at 07:34, xxxxxxxx wrote:

thanks for the info. Glad you found something. 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/06/2007 at 11:07, xxxxxxxx wrote:

One thing to note is that libpng doesn't currently come with VS2005, CodeWarrior, or Xcode projects. There is a VS2003 project, but I found it clumsy in conversion and built my own from the zlib static lib project used by the plugin.

Even then, I had to fiddle with this project's build settings to remove 'unresolved external symbol' errors related to libpng during link with my plugin - about three hours of frustration before it started working. 😉

Still dealing with a similar situation in Xcode - unresolved external links which seem to be functions that aren't being included by any of the billion #defines. This will require some detective work. 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/11/2007 at 02:20, xxxxxxxx wrote:

Quote: _If anyone needs such support for 64-bit Windows (or generally in Cinema 4D), I'd be happy to forward my source.
>
> * * *
_


Hey Robert,

this is exactly what i was looking for, since all 64-bit/vista users cant run my plugin anymore, it would be great if you could share that piece of code.

thanks in advance!

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/11/2007 at 13:03, xxxxxxxx wrote:

Are you looking to use libpng for PNG image file support in these Windows versions?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/11/2007 at 15:20, xxxxxxxx wrote:

yes, or eventually anything else that works 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/11/2007 at 16:56, xxxxxxxx wrote:

You can download a zip containing the following from the link below:

- 64-bit Windows static libs built with VS2005
- Headers for zlib and libpng (libpng requires zlib for compression/decompression)
- Readme.txt to exemplify use of the PngLoad class

Of course, you can download the latest zlib and libpng if you need to build the static libs yourself. It is a bit tricky to set up the VS2005 project (as none accompanies these libs).

http://www.kuroyumes-developmentzone.com/_private_/libpng&src.zip;

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 29/11/2007 at 00:50, xxxxxxxx wrote:

thank you. but i cant download that file. also cant open your site.

can you please mail me the file?
yvescolle at hotmail dot com

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 29/11/2007 at 08:16, xxxxxxxx wrote:

Can you try the link again and let me know if it works? I just upgraded NAV and, brilliant, it didn't retain any of my previous settings. I can access everything, but can't test offsite. Working on getting the entire server back online. Hopefully the web server is accessible now.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 29/11/2007 at 10:35, xxxxxxxx wrote:

its working now, thank you very much!!!