Search found 17 matches

by peter01242
2016-07-22T09:19:56-07:00
Forum: Magick++
Topic: Write time very variable
Replies: 4
Views: 4685

Re: Write time very variable

I am using IM 7.0.2-Q8.
The image is 18.6" x 12.2" @ 2540 dpi and is a 1-bit TIFF.
by peter01242
2016-07-22T07:48:57-07:00
Forum: Magick++
Topic: Write time very variable
Replies: 4
Views: 4685

Re: Write time very variable

The source and target files are both TIFF files so I am not changing file format as such; I am not sure what IM does internally. I tried several compression methods with the following save time results for placing the barcode at the TLC and BRC. The times are the time between the write() command bei...
by peter01242
2016-07-22T05:26:47-07:00
Forum: Magick++
Topic: Write time very variable
Replies: 4
Views: 4685

Write time very variable

I am adding a barcode to a TIFF file (read, composite, write) and the time taken by the write() call varies quite significantly depending upon where I place the bar code. I am monitoring the ImageInfo progress as part of the process. The source file is a single-strip LZW compressed TIFF file (18.6" ...
by peter01242
2016-07-21T08:32:34-07:00
Forum: Magick++
Topic: Propagate TIFF tags
Replies: 1
Views: 3275

Propagate TIFF tags

I have to read a TIFF file, add a bar code to it and save it back to the original file. The source TIFF may contain tags not recognize by IM, even if they are in a valid TIFF tag format. Is it possible to have IM retain those tags and write them to the target file (also TIFF) even though it does not...
by peter01242
2016-07-20T08:06:22-07:00
Forum: Magick++
Topic: Progress feedback for lengthy processes
Replies: 1
Views: 3188

Progress feedback for lengthy processes

Is there anyway of getting progress feedback for lengthy processes that I can then report to the GUI?
by peter01242
2016-07-20T06:07:37-07:00
Forum: Magick++
Topic: Partial read/write
Replies: 1
Views: 3390

Partial read/write

Is it possible, using IM 7.0.2-Q8 on Windows to perform a partial read/write on a file? The reason I ask is that I need to add bar-codes to (potentially very large) images and would prefer to be able to read just the area of the image I need, composite the bar-code and write back the modified data t...
by peter01242
2016-07-20T02:17:51-07:00
Forum: Magick++
Topic: Image does not contain a geometry
Replies: 4
Views: 5171

Re: Image does not contain a geometry

After doing some more reading and head-scratching I decided to try rows() and columns() which appear to return the values that I require.
Having the Geometry object filled in after the read would be a nice feature addition as it does seem like a logical place to go looking for those details.
by peter01242
2016-07-20T01:48:02-07:00
Forum: Magick++
Topic: Image does not contain a geometry
Replies: 4
Views: 5171

Re: Image does not contain a geometry

I am using ImageMagick-7.0.2-Q8 on Windows 10 64-bit using VS2013 Pro (Version 12.0.40629.00 Update 5) With the original code fragment I posted there is no final image as the exception was thrown and the image was not written to disk. Here is the code that generates the barcode and writes it to disk...
by peter01242
2016-07-19T09:34:25-07:00
Forum: Magick++
Topic: Image does not contain a geometry
Replies: 4
Views: 5171

Image does not contain a geometry

I have created a barcode using the following code: Magick::Image Im(Magick::Geometry(600, 150), Magick::Color("white")); Im.colorSpace(Magick::GRAYColorspace); Im.font("CODE3X"); Im.fontPointsize(48.0); Im.draw(Magick::DrawableText(20, 80, "*Barcode Test*")); I want to position this at the bottom of...
by peter01242
2016-07-12T09:51:56-07:00
Forum: Magick++
Topic: Problem with spot colors
Replies: 0
Views: 5112

Re: Problem with spot colors

Here is a link to a DropBox folder containing the various files, including the CMYK and spot PNG files, a sample incorrect composite PNG and a PDF showing what the image should look like.

https://www.dropbox.com/sh/ldcfxitixvn ... mr9a?dl=0
by peter01242
2016-06-30T17:04:08-07:00
Forum: Magick++
Topic: Problem reading a TIFF file
Replies: 6
Views: 12785

Re: Problem reading a TIFF file

It turns out that, for some reason, you cannot debug properly in Debug mode under VS2013 - Magick++ gets upset. I have noticed some incompatibilities between Debug and Release code that did not, AFAICR, exist under previous versions of VS. Am now generating thumbnails and moving on the next stage. T...
by peter01242
2016-06-29T19:05:50-07:00
Forum: Magick++
Topic: Problem reading a TIFF file
Replies: 6
Views: 12785

Re: Problem reading a TIFF file

FYI, I have the ImageMagick-7.0.2-0-Q8-x64-dll.exe and ImageMagick-7.0.2-0-Q8-x86-dll.exe installations installed. I am building under VS2013 (12.0.40629.00 Update 5). I am a relatively experienced programmer and have been programming C and C++ for several years, so I am probably beyond the 'Hello W...
by peter01242
2016-06-29T17:32:27-07:00
Forum: Magick++
Topic: Problem reading a TIFF file
Replies: 6
Views: 12785

Re: Problem reading a TIFF file

Even if I use \\ I get the same problem, an exception: "T:\\catfish\\trunk\\catfish\\tools\\XiThumbnail\\x64\\debug\\a(C).tif" The only difference being that the exception now says: unable to open image '¸䀀q½¡': No such file or directory @ error/blob.c/OpenBlob/2695 The file definitely exists in the...
by peter01242
2016-06-29T16:14:02-07:00
Forum: Magick++
Topic: Problem reading a TIFF file
Replies: 6
Views: 12785

Problem reading a TIFF file

I am using the following code to read a TIFF file, resample it at 300 dpi, and save it as an 8-bit deep PNG. I have managed to get this working via command line arguments (I used mogrify not convert). The code below throws an exception during the read(). The exception is: Thumbnail Generation failed...
by peter01242
2016-06-24T19:15:06-07:00
Forum: Users
Topic: Combining Channel Images with custom colors
Replies: 14
Views: 6397

Re: Combining Channel Images with custom colors

Thanks for all the help, I think I have a handle on it now. Here is what I am using: %IM%convert ^ -set colorspace CMYK ^ "spot(Cyan).png" "spot(Magenta).png" "spot(Yellow).png" "spot(Black).png" ^ -negate -combine ^ -colorspace CMYK ^ -compose Add ^ ( "spot(PANTONE 282 U).png" -transparent White -s...