Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: How to create and save an image from RGB values

by etj (Deacon)
on Dec 31, 2021 at 00:57 UTC ( [id://11140050]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to create and save an image from RGB values
in thread How to create and save an image from RGB values

This looks a lot like an application of "Einstein-inspired notation operations" (aka einops) would have helped here. I've been toying with the idea of making a translator from einops notation to PDL slice syntax, but haven't done so yet. I am 100% sure that a pull-request with a PDL::Slices::einops function (with suitable tests, even if incomplete) would be gratefully received :-D

EDIT The future-design of PDL is being explored on this GitHub issue, including a mention of einops, and anyone with ideas would be extremely welcome to contribute!

Replies are listed 'Best First'.
[OT][Re:PDL] So... No more piddles now? (was: Re^5: How to create and save an image from RGB values)
by vr (Curate) on Jan 02, 2022 at 11:41 UTC

    When consulting metacpan PDL docs yesterday, found myself continuously stumbling upon word i-am-sure-was-not-there-before. Aha, here. It's not, I believe, anywhere in "changes" or "resolved issues", is it? Please correct me if I'm wrong. Perhaps discussed privately among devs, which of course is up to them to decide, it's not critique from me, just curious to observe how things are changing in general these days. As if "piddle" was an OK for 25 years, and finally last spring fallen off "euphemism treadmill" or something.

    Update: it was announced on mailing list.

      As if "piddle" was an OK for 25 years, and finally last spring fallen off "euphemism treadmill" or something.

      Now .... if we can just get Linux users to universally refrain from using that vulgar term "root" ;-)

      Cheers,
      Rob

        hehe, and gimp too! oO(It would have been hard work without using a Perl script)

      A change so significant needs to be in the docs

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11140050]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-03-29 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found