'Streaming' into gigapixel files

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sarque
Posts: 1
Joined: 2011-03-29T06:34:58-07:00
Authentication code: 8675308

'Streaming' into gigapixel files

Post by sarque »

Using Q8 6.6.8 on Win7 64Bit.

I'm looking to stream small 10x10 tiles into a 5 gigapixel file. What I can do is save the MPC file, open it, place the 10x10 tile, close it, and convert. But it would of course be a lot faster if i could just place the tile directly into the final JPG/PNG/GIF, without having to actually opening it with convert. Is such a thing possible? Has it already been done?

Thanks for you advice
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: 'Streaming' into gigapixel files

Post by anthony »

No one has reported on a way to merge a image into the larger image as yet using 'streaming' methods.

Such a program would have to merge the streams of two images together in just the right place.
It should be posible to write using the existing IM streaming functions, It's just no one has contributed it yet,

Perhaps the streaming function of PbmPlus (NetPbm) can do this.

I have a report (not yet merged into IM EXamples) from Georg Zotti whcih reports that the "pamcut" can do a similar streaming as IM command "stream" for tile/area separation from a larger image, but nothing bout the reverse.

pnmpaste paste may be able to do it. Its man page does not report weather it streams the two input images or not.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply