Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 06-16-2018, 01:22 PM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default LCF Fileformat-docs, does someone know where to find them?

I'm trying to build me some functions regarding import of image-files, like checking, if an image-file is a specific one and stuff.

Now, I would like to add LCF(the fileformat created by LiceCap) and would love my function to not only return, it's an LCF-file, but also, how long(in seconds) it is.
I managed to find out the number of frames by reverse engineering some created files, however, I couldn't find out, how the fps-number is stored, the width/height/colordepth...

And in that regard it would be nice to know, how the compressor itself works..

So, now my question: does anyone know, where I can find a specs-documentation for the fileformat of LCF?
Forumsearch didn't yield any results, nor did googling...
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-16-2018, 01:26 PM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
Default

It's open source (part of WDL): https://github.com/justinfrankel/WDL...e/lice_lcf.cpp.

LICECaptureDecompressor::GetLength https://github.com/justinfrankel/WDL...lice_lcf.h#L67

Also https://github.com/justinfrankel/licecap.
cfillion is offline   Reply With Quote
Old 06-16-2018, 01:30 PM   #3
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Here's the relevant C++ if that helps: https://github.com/justinfrankel/WDL...e/lice_lcf.cpp
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 06-16-2018, 01:34 PM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default

Thanks, I'll look into that.

I hope, my lack of C++-knowledge will not hinder me with understanding that
Meo-Ada Mespotine is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.