[erlang-questions] What's the best way of producing bitmaps/pixelmaps through Erlang.
Steve Davis
steven.charles.davis@REDACTED
Sun May 8 03:52:19 CEST 2011
Hi,
My personal take on this is that you should process the fractal
algorithm in a way that's separated from any particular file format,
building the image in a very generic way; e.g. perhaps using a record
like -record(image, {id, width, height, pixel_depth, rgba = []}).
where rgba are the generated 4-tuples {R, G, B, A} representing the
data points.
Then you could write transcoders (codecs) from this format to any
number of binary image file formats. The binary syntax of Erlang will
then prove its worth in spades.
It's somewhat curious to me that a comprehensive library for image
codecs hasn't emerged already, given the ease of which this can be
done in Erlang's binary/bit syntax.
HTH,
Steve
On May 7, 2:39 pm, "G.S." <corticalcompu...@REDACTED> wrote:
> Thanks, I will check both.
>
> By the way, the purpose of use is creating Fractal Art.
>
> Regards,
> -Gene
>
>
>
>
>
>
>
> On Sat, May 7, 2011 at 10:56 AM, Vance Shipley <van...@REDACTED> wrote:
> > Have you looked at egd?
>
> > http://www.erlang.org/doc/man/egd.html
>
> > On May 5, 2:27 am, "G.S." <corticalcompu...@REDACTED> wrote:
> > } What's the best way to produce/specify bitmaps/pixemaps using Erlang? Is
> > } anyone using particular modules, or projects for this?
>
> > --
> > -Vance
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questi...@REDACTED
> >http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list