Git Product home page Git Product logo

Comments (5)

vygr avatar vygr commented on May 5, 2024

.cpm are compressed pixmap format. This is an old Taos format from back in 1990. It's simple RLE encoded pixel format. Take a look in class/canvas/cpm.vp for the loader routine. Simple header and then run length pixel data.

Reason I haven't done Jpeg or PNG is that the decoders for them would probably be quite large ! But if somebody wants to have a bash at doing a decoder for .png that didn't take up a huge amount of space we could add it to the supported 'canvas 'load types easy enough.

Last time I compiled a Jpeg decoder written in C it was huge !!!

from chrysalisp.

neauoire avatar neauoire commented on May 5, 2024

Just looked at cpm.vp, and that's above my expertise haha.
I'll keep that for later then.

from chrysalisp.

vygr avatar vygr commented on May 5, 2024

I should write the .cpm save code sometime too. Maybe when the paint app needs it ;)

from chrysalisp.

vygr avatar vygr commented on May 5, 2024

The .flm files are film files, they have a .cpm formatted first frame then RLE encoded difference frames following, and loop back to the first at the end of file reached.

I want to get round to do the decoder for those too ! :( And the exporter...

from chrysalisp.

vygr avatar vygr commented on May 5, 2024

FLM decoder now done. So I'll close this ticket I left open for a reminder.

Saving .CPM and an .FLM recorder will come along with the basic paint app...

from chrysalisp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.