comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Color gradients lib
Date: Tue, 08 Feb 2011 14:16:13 +0100
Date: 2011-02-08T14:16:13+01:00	[thread overview]
Message-ID: <op.vqk5tbwlule2fv@garhos> (raw)
In-Reply-To: iir7k6$dfi$1@news.eternal-september.org

Hi Alex,

Any graphic capabilities requires an output “device”, either memory  
bitmap, screen, image file, and the latter may be bitmap, PNG, JPEG. I  
feel you miss to provide a context here. Are you seeking for a library to  
generate shapes filled with gradient to which kind of output ? This is  
important to know.

Do not know anything about the context, however an idea : is SVG a valid  
option for you ? For graphs, pies, and other formal representations and  
plotted images, SVG is rather good (if no dynamic features is required),  
and it has gradient capabilities:
http://www.w3.org/TR/SVG/pservers.html

Otherwise, please tell more about the context and any relevant technical  
details.


Le Tue, 08 Feb 2011 11:58:00 +0100, Alex R. Mosteo  
<alejandro@mosteo.invalid> a écrit:

> Hello,
>
> I need to plot some data (2D maps) and I have everything in my drawing
> library except some readily usable gradients. I was wondering if some Ada
> library out there has this before making my custom one.
>
> I would need one to represent bad/good ranges (e.g. the default gradient
> blue-cold to red-hot in matlab), and another to show a density of samples
> (perhaps simple shades of gray).
>
> The second one is straightforward, but the first one seems like something
> pretty standard, so I wouldn't like to create one that is similar but not
> the same.
>
> (e.g. the first example in
> http://www.mathworks.com/help/techdoc/visualize/f0-18164.html#f0-5919 )
>
> Thanks for any suggestions.


-- 
Si les chats miaulent et font autant de vocalises bizarres, c’est pas pour  
les chiens.

“I am fluent in ASCII” [Warren 2010]



  reply	other threads:[~2011-02-08 13:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 10:58 Color gradients lib Alex R. Mosteo
2011-02-08 13:16 ` Yannick Duchêne (Hibou57) [this message]
2011-02-08 14:52   ` Alex R. Mosteo
2011-02-08 15:18     ` Yannick Duchêne (Hibou57)
2011-02-08 15:21       ` Yannick Duchêne (Hibou57)
2011-02-08 16:27         ` Alex R. Mosteo
2011-02-08 19:30           ` Yannick Duchêne (Hibou57)
2011-02-08 18:00 ` Dmitry A. Kazakov
2011-02-08 19:27   ` Yannick Duchêne (Hibou57)
2011-02-08 19:36     ` Yannick Duchêne (Hibou57)
2011-02-08 19:54     ` Dmitry A. Kazakov
2011-02-09  8:53   ` Alex R. Mosteo
2011-02-08 20:26 ` Gautier write-only
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox