On 23.4.2015 16:24, Demian Riccardi wrote:
> I was able to read in the file using PDL::IO::Image (awesome) and rimage

Oh, how nice to hear that somebody likes my code :)


On 23.4.2015 22:12, Zakariyya Mughal wrote:
> I gave it a go 
> at<http://nbviewer.ipython.org/gist/zmughal/fae2a5901d59504b56e1/Thin-layer-chromatography-analysis.ipynb>.

When talking about PDL::IO::Image you can export PDL piddle as PNG data 
placed into a scalar variable (not a file) like this:

use PDL;
use PDL::IO::Image;
my $pdl = (sin(0.25 * rvals(101, 101)) * 128 + 127)->byte; # demo piddle
$pdl->wimage(\my $png_displayable, {format=>'PNG'});

(in fact this feature is missing in wimage() documentation but it is supported)

--
kmx



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to