Search found 49 matches

by BrianP007
2018-06-09T14:46:58-07:00
Forum: Bugs
Topic: PerlMagick make has 6 errors: syntax, permissions, bad exec format
Replies: 0
Views: 12035

PerlMagick make has 6 errors: syntax, permissions, bad exec format

Installed ImageMagick-7.0.7-38 on opensuse leap 42.3, gcc-7, all 86 tests report PASS, display works, all appears fine brianp@trex:~/download/image/image.magick/ImageMagick-7.0.7-38> ./configure --with-modules --with-perl > im.conf.1.log 2>&1 brianp@trex:~/download/image/image.magick/ImageMagick...
by BrianP007
2016-05-04T15:29:52-07:00
Forum: Users
Topic: How to add image file header to .RAW file without altering RAW data?
Replies: 2
Views: 5800

Re: How to add image file header to .RAW file without altering RAW data?

It ignored the "convert to PGM" directive because of the "gray:" prefix you supplied in the output filename. Is there an incompatibility between "gray" and "Portable GRAY Map"? "RGB" would be contradictory. I tried this to get it to stop compressing...
by BrianP007
2016-05-04T12:06:50-07:00
Forum: Users
Topic: How to add image file header to .RAW file without altering RAW data?
Replies: 2
Views: 5800

How to add image file header to .RAW file without altering RAW data?

I am creating single channel, grayscale extracts of RGB/HSV/Lab files and would like to be able to use a "standard" file extension so the OS could show a thumbnail. But without altering the raw data. I was trying to use IM -> Convert to simply add the most trivial possible header to a .raw...
by BrianP007
2016-05-04T10:24:31-07:00
Forum: Users
Topic: Find identical images in bulk?
Replies: 9
Views: 12290

Re: Find identical images in bulk?

ccleaner has a dup finder feature which works great on windoz and does produce a text report: https://www.piriform.com/ccleaner/download Tools -> dup_finder. And, it's free Creating an md5 on everything will work but is gross overkill. Look for dup sizes first and only hash those. Any file with a un...
by BrianP007
2016-04-10T16:15:42-07:00
Forum: Users
Topic: Wrong file size for 4-bit RAW Grayscale file
Replies: 3
Views: 5609

Re: Wrong file size for 4-bit RAW Grayscale file

Snibgo, That explains it! I have a note in ancient code that 4x6 worked and 6x9 was wrong. The 4x6 has an even number of columns. I checked 8x12 and it works too! In tracking this down, I noticed hat the GetPixels() returns the right number of pixels, 27, but the values are Impossibly large for 4 bi...
by BrianP007
2016-04-10T14:32:15-07:00
Forum: Users
Topic: Wrong file size for 4-bit RAW Grayscale file
Replies: 3
Views: 5609

Wrong file size for 4-bit RAW Grayscale file

When converting from JPG to TIF, Quantum Bits and XY resolution are correct: convert bb.test.jpg -colorspace gray -resize "9x6" -depth 4 bb.test.gray.4bit.9x6.tif; identify -quiet pic/bb.test.gray.4bit.9x6.tif bb.test.gray.4bit.9x6.tif TIFF 9x6 9x6+0+0 4-bit Grayscale Gray 24.9KB 0.000u 0:...
by BrianP007
2016-02-26T12:42:30-07:00
Forum: Bugs
Topic: -mtune=core2 hard coded into CFLAGS?
Replies: 1
Views: 4179

-mtune=core2 hard coded into CFLAGS?

In building binaries for mass use, it may make sense to shoot for the least common denominator hardware so the code will run most everywhere. When building for my system, I find that building for -march=native and -mtune=<my_exact_CPU> runs vastly faster. Indeed, I have measured a 6:1 speed boost in...
by BrianP007
2016-02-26T12:04:51-07:00
Forum: PerlMagick
Topic: PerlMagick Makefile.PL -> make:: /usr/bin/ld: cannot find -lMagickCore-6.Q16
Replies: 0
Views: 19052

PerlMagick Makefile.PL -> make:: /usr/bin/ld: cannot find -lMagickCore-6.Q16

I am trying to install PerlMagick with HDRI and have run into the most bizarre situation; the /usr/bin/make is rewriting the Makefile and removing all references to HDRI! It then attempts to link against the non-HDRI IM library and the link fails. Perl is 5.22.1 built from source with a SHARED libpe...
by BrianP007
2016-02-17T13:21:26-07:00
Forum: Users
Topic: Writing Black&White 1bit/pixel image file in C, _-FAST-_?
Replies: 3
Views: 6087

Re: Writing Black&White 1bit/pixel image file in C, _-FAST-_?

>> Writing to disk is the usual bottleneck There is no disk. The SSD is M.2, PCI-E 3.0 x4 SSD. All memory, all the time. 1,500,000,000 BYTES/second write speed My log indicates I am spending 43% time ENCODING 4.5 MBytes in libGD and writing 60 Kilo-BYTES to SSD. That's 4 times LONGER than reading a ...
by BrianP007
2016-02-17T12:11:06-07:00
Forum: Users
Topic: Writing Black&White 1bit/pixel image file in C, _-FAST-_?
Replies: 3
Views: 6087

Writing Black&White 1bit/pixel image file in C, _-FAST-_?

I need to covert ~36 million bits in C to a "standard" png/jpg/gif/mng/??? file format FAST. Would appreciate recommendation on suitable C library. One goal is to create a movie with 1025 frames: Pure image and then 1024 with a single bin masked DETAILS: ======= libgd is used to create 1 b...
by BrianP007
2016-02-13T15:18:41-07:00
Forum: Users
Topic: mp4 from 1024 mostly clear .PNGs with a static background?
Replies: 4
Views: 6995

Re: mp4 from 1024 mostly clear .PNGs with a static background?

>>The slow part is processing the frames<< My new "hard drive" is completely solid with nothing moving but electrons, the size of a stick of Juicy Fruit, PCIE 3.0 X4 and 2.5 GB/s reads... - 10 ms read on 72MB, 36MPix, single channel raw (might be already cached). - 28 ms bin time into 2048...
by BrianP007
2016-02-13T12:45:30-07:00
Forum: Users
Topic: mp4 from 1024 mostly clear .PNGs with a static background?
Replies: 4
Views: 6995

Re: mp4 from 1024 mostly clear .PNGs with a static background?

For the movie, I could smush each frame down to 2560x1600, my screen resolution, or perhaps even less. That greatly reduces the data volume. The bit masks can be anything from brightness level, hue angle (range adjusted from 0-360 to 0-64k), saturation, R, G, B, Luma, Y, U, V, neighborhood contrast ...
by BrianP007
2016-02-13T10:26:24-07:00
Forum: Users
Topic: mp4 from 1024 mostly clear .PNGs with a static background?
Replies: 4
Views: 6995

mp4 from 1024 mostly clear .PNGs with a static background?

I would like to create an MP4 movie with 1024 mostly transparent .PNG files and a static background. The background would be a full color, up to 36 Mpixel, .JPG. The .PNG files are 1 bit, 0->BLACK 1->CLEAR masks, mostly clear and they are only ~20kB to ~45 kB so they would all fit in memory easily. ...
by BrianP007
2015-12-16T21:42:05-07:00
Forum: Users
Topic: Best way to create a simple TIFF header for .RAW file?
Replies: 1
Views: 7789

Re: Best way to create a simple TIFF header for .RAW file?

Solution! Hack Dave Coffin's minute tif header and adjust the binary guts to suit your raw files GORY DETAILS: You MUST know the X and Y resolution of your RAW file This solution only works with UINT48, RGB .RAW data (DCRaw and Photoshop output) Build DCRaw.exe from source optimized for your metal. ...
by BrianP007
2015-12-15T20:59:49-07:00
Forum: Users
Topic: Best way to create a simple TIFF header for .RAW file?
Replies: 1
Views: 7789

Best way to create a simple TIFF header for .RAW file?

The Camera Raw converter "DCRaw" prepends a 1376 byte header to a 16 bit/channel, RGB .raw file and magickally creates a tif file. What is the easiest way to manufacture such a trivial TIF (PNG?) file header for an uncompressed UINT48, RGB, .RAW file? ------------------------------------- ...