Search found 25 matches
- 2018-05-24T05:45:50-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
But it does also not work for TIF files and also not with your modified CPP program. Both programs work fine with TIFF files made by ImageMagick. Those files have an alpha channel. They don't work on the TIFF file you linked because that doesn't have an alpha channel. This is not correct, they have ...
- 2018-05-22T22:10:16-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
I removed the grouping and deleted one of the two layers and saved again to TIFF, but it still does not show transparency. Are these "smart layers"? If so, perhaps that is the issue. ImageMagick probably cannot handle any thing but simple pages or perhaps layers as TIFF files. I only opened ...
- 2018-05-22T22:07:53-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
But it does also not work for TIF files and also not with your modified CPP program.The C program that I showed (flatcol.c) uses argv[3] as the colour.
Regards
- 2018-05-22T12:07:52-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
I got this information about the Photoshop TIF: That is expected behaviour. A tiff does not officially support transparency (Photoshop introduced a multi-layered tiff format at some point), but does support alpha channels. This alpha channel is present in the channel palette, and can be used to ...
- 2018-05-22T05:23:01-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
OK, sorry, maybe I did not exactly describe my problem 1.) I tried it with your and with the corrected version of my program: TIF to PNG works, TIF to JPG works. Both (PNG and JPG) have a white background regardless of the third parameter. (e.g. If i try "blue" as the third parameter than the ...
- 2018-05-22T04:08:27-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
Thanks, but maybe the problem is handling a Photoshop generated TIF with transparency with IM?
Try the TIF file with a TIF file as output, and IMPORTANT: open the generated file with Photoshop
Regards
Try the TIF file with a TIF file as output, and IMPORTANT: open the generated file with Photoshop
Regards
- 2018-05-21T22:21:28-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
Your C++ program won't compile for me under Gnu CPP compiler Please, add the additional header "#include <cstring>" I tried your example, but it gaves me the same result: I compiled it and run it "[output-binary] test.tif test_out.tif white". The file "test.tif" and the file "test_out.tif" are the ...
- 2018-05-21T02:55:57-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
Hi, i prepared a running example, which demonstrates that it is not working: #include <memory> #include <string> #include <iostream> #ifdef _WIN32 # pragma warning(disable : 5033) // warning C5033: 'register' is no longer a supported storage class #endif #include <MagickCore/MagickCore.h> class ...
- 2018-05-15T11:59:45-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
But in my case I have already a transparent background and want this to be replaced with a white background. The following code do not work: QueryColorCompliance ("white", AllCompliance, &inImg->background_color, exception); Image * outImg = MergeImageLayers(inImg, FlattenLayer, exception); Regards
- 2018-05-15T00:12:27-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
Re: How to remove transparency from a TIF and replace with white background
Hello,
Regards
I use ImageMagick 7.0.7-22 Q16 x64 on Windows 10
I don't know what you mean exactly, I use MagickCore and MagickWand. Hope this is what you expected.
Regards
- 2018-05-14T07:19:33-07:00
- Forum: Users
- Topic: How to remove transparency from a TIF and replace with white background
- Replies: 23
- Views: 13361
How to remove transparency from a TIF and replace with white background
Hello, i've attached an example file. How can I remove the transparency from a TIF file with ImageMagick C-API? I already tried to debug with VisualMagick's tool "UTIL_convert" (VisualDynamicMT) with the command line parameter "[TIF_File] [JPG_File]" and this works, but I can't find out why. Please ...
- 2018-04-05T22:28:49-07:00
- Forum: Users
- Topic: Create image from decoded FlatDecode PDF Image (XObject)
- Replies: 2
- Views: 2472
Re: Create image from decoded FlatDecode PDF Image (XObject)
But I was mean the C API from ImageMagick, and no command line tools.
Sorry, i thought that was clear
Sorry, i thought that was clear
- 2018-04-05T05:05:49-07:00
- Forum: Users
- Topic: Create image from decoded FlatDecode PDF Image (XObject)
- Replies: 2
- Views: 2472
Create image from decoded FlatDecode PDF Image (XObject)
Hello,
if I have the decoded data, icc profile and resources from an extracted XObject from an PDF file and informations such as BitsPerComponent, width, height, ...
Is it possible to create an image with the help of ImageMagick?
Please, could anybody give me a hint?
Thanks
if I have the decoded data, icc profile and resources from an extracted XObject from an PDF file and informations such as BitsPerComponent, width, height, ...
Is it possible to create an image with the help of ImageMagick?
Please, could anybody give me a hint?
Thanks
- 2017-08-29T01:17:14-07:00
- Forum: Users
- Topic: How to correct inverted CMYK image
- Replies: 14
- Views: 15211
Re: How to correct inverted CMYK image
This seems to work, but which function did i need to call if I use the API not the ImageMagick binaries?fmw42 wrote: ↑2017-08-28T13:45:27-07:00Code: Select all
convert testcase_cmyk.jpg -negate testcase_rgb.jpg
Thanks to all for your great help
Regards
Roman
- 2017-08-29T00:30:20-07:00
- Forum: Users
- Topic: How to correct inverted CMYK image
- Replies: 14
- Views: 15211
Re: How to correct inverted CMYK image
What do you exactly mean with ICC profile name?
All I get from the ICC is the following:
https://www.dropbox.com/s/v6b6mp21dtuji ... 9.JPG?dl=0
Regards
All I get from the ICC is the following:
https://www.dropbox.com/s/v6b6mp21dtuji ... 9.JPG?dl=0
Regards