Anyone know of a question addressing being able to overwrite a single byte in the middle of a LARGE binary file with Mma? Supposing the file is too large to import directly? I tried SetStreamPosition on a file I opened with OpenWrite, but got an error.
The only thing I can think of is to open the file twice, once as read-only, once as write-only, with two streams, and write the file in small chunks as I read it, filtering at the location I need to overwrite.
Would think an equivalent to matlab or idl's open in read-write mode would be available?
Functions like Read, Skip and Find usually operate on streams in an
entirely sequential fashion. Each time one of the functions is called,
the current point in the stream moves on.
In a Sequential file you can´t delete entries. The only option is shifting the "tail" of the file upwards.
I have 500 text files each of about 200000 rows. I need to delete one row in each of them as fast as possible (later such operations will repeat). What is the best way to do this with Mathematica?
Solutions using NETLink, JLink etc. are welcome!
I have found a solution for C#: "Efficie...
I have many .gif images and I would like to export them as a single video file (I prefer .mov, but any video format is fine). But what if I have several tens of megabytes of .gif images? Is it possible to export them efficiently, without running out of memory?
For example, suppose I have many ...
@belisarius I was trying to solve the above problem by exporting a small chunk of quicktime movie based on a few seconds of image files, then reading that movie, and splicing in extra image frames (picking them out of an ExportString[...,"QuickTime"]) to handle the remaining frames, reading them as needed to avoid the memory limitation. I got stuck when I had to overwrite the duration and size fields in the quicktime container...
So it looks like LocatorPane decides what coordinate system to use based on its content. For graphics, it's the plot coordinates. For images, it's pixel coordinates. For, say, a piece of text, it's from 0 to 1.
@Szabolcs I think the main point of the article though is the way of splitting the image, not the specific processing they do to those parts as an example. for instance, you could use it to emphasise different frequencies, making the image look "more 3d" or whatever
@BrettChampion Would you answer it ... ? The question might be a bit controversial (people always say "disk space is cheap, get a bigger hdd") Actually I do wonder if the Windows-x86-64 directories from SystemFiles\Kernel can be deleted on a 32-bit system ... didn't someone once say here (don't remember who) that leaving out 64 bit components caused problem before (maybe in the previous home edition?)