fish2000 / libimread Goto Github PK
View Code? Open in Web Editor NEWBinary image read/write format support for Halide and CoreGraphics
License: Other
Binary image read/write format support for Halide and CoreGraphics
License: Other
Observe:
Figure 1. TIFF Multiwrite with im.Batch
.
Figure 2. What actually happens: left: singular written TIFF file; right: multiwrite TIFF; center: source material.
OK so:
im::seekable
im::mutable
or some such thinglibimread/libimread.hpp
defines the proper DO_WE_HAVE_XXX_FORMAT
macros
im::ImageFormat
subtypeslibimread/IO/hdf5.hh
fork()
and ømq (q.v. note 1 sub)im::storeable
/im::loadable
or whatever)im::Image
to and from im::byte_sink
and im::byte_source
, would also be nice[1] I have no freaking idea what tech or library to use, really – but who doesn’t love to pause and speculate idly in the moment, thinking of what it’d be like to find yourself coding such-and-such feature using this-that-and-the-other API, thinking of it like just for a second or two, maybe with a smile, thinking thoughts like these:
“yeah oh yeah that would totally be awesome and truly worth my time somehow, not at all a circuitous, distracting, total absolute Howling Debug Fantods sort of thing”
… I mean this one is soooo open-ended as at the time of writing this, I have not done anything involving anything explicitly async – e.g. like for example block stuff, or GCD primitives, or (alternatively) OpenMP pragma directives, or pthreading or fork()
ing or NSOperationQueue
ing, or process-wrangling in general, or TSRing for that matter, or even <csetjmp>
ing beyond the insistances of the libjpeg and libpng API boilerplate [2] – other than the extraordinary high-level calls one can express through the Halide scheduler’s API I have devoted little thought and given few fucks about doing any libimread stuff concurrently.
I don’t even really know what I am supposed to do when any one of the exceptions I have defined in my implementations ends up shooting off; I don’t do mutexes or deal with signal-handler state; I don’t give a fuck about focus lock when calling into CoreGraphics… and so on.
Obviously, I would prefer to do as little as possible aside from reading and writing images – which so like that means:
/((?P<objc>(ObjC|Objective-C))|(?P<c>(C)))?(?P<plus>(C|\+\+|PP|XX))?/
as I need to make calls, be they to:
libpng
)write_multi()
implemented on top of the pincrush ApplePNG’s hacks and the SSZipArchive API – which we did have write_multi()
like waaaaay before the original mahotas-imread added its comprable imsave_multi()
call, by the way I am just sayin[2] which I am aware that referring to setjmp()
as a “concurrent programming interface” is akin to calling the material commonly observed in a contiguous cluster near Donald Trump’s local altitude-maxima “hair,” like in how otiosely generous would saying that be; I am sure the original setjmp()
author has to fight the urge to call Mom and brag, should talk of their concurrency API (née “parallel programming paradigm” or “domain-specific flow-conrol idiom” or “portable dynamic zero-cost calling-site abstraction” depending upon who is tweeting at whom with what) end up burning their personal ears
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.