I tried the file under GIMP and Krita and in both it works flawlessly. The empty areas outside the data window show transparent.
FYI, I am trying it in Photoshop CC 2015.
Search found 30 matches
- 2016-01-16T08:45:18-07:00
- Forum: MagickWand
- Topic: Empty backgrounds show as white
- Replies: 7
- Views: 19419
- 2016-01-16T07:35:26-07:00
- Forum: MagickWand
- Topic: Empty backgrounds show as white
- Replies: 7
- Views: 19419
Empty backgrounds show as white
I have used imagemagick's magick api to create a multilayered PSD file with cropped images and run into two issues. 1) The file reads fine in my viewer but in Photoshop, the areas that are outside the data window show as white. https://drive.google.com/file/d/0B1_BcmflgVRTd2lSb3dzVHhLVFE/view?usp=sh...
- 2016-01-15T13:36:09-07:00
- Forum: Developers
- Topic: Is there C-API to load psd buffer specify layer
- Replies: 2
- Views: 4363
Re: Is there C-API to load psd buffer specify layer
To get the number of layers (images):
size_t numLayers = MagickGetNumberImages( wand );
MagickSetIteratorIndex(wand, index) allows you to travel through all PSD layers.
You can obtain the name of the layer using:
const char" label = MagickGetImageProperty( wand, "label" );
size_t numLayers = MagickGetNumberImages( wand );
MagickSetIteratorIndex(wand, index) allows you to travel through all PSD layers.
You can obtain the name of the layer using:
const char" label = MagickGetImageProperty( wand, "label" );
- 2016-01-09T16:29:19-07:00
- Forum: Developers
- Topic: Multilayered PSD files
- Replies: 1
- Views: 5975
Re: Multilayered PSD files
To answer my own question. What is needed is to set image->depth to a sensible value ( 8 or 16 ). This can be done with MagickSetImageDepth( wand, depth ). The PSD plugin requires it to be set, unlike the TIFF saver.
- 2016-01-09T15:01:35-07:00
- Forum: Developers
- Topic: Multilayered PSD files
- Replies: 1
- Views: 5975
Multilayered PSD files
I am trying to create a multilayered PSD file from a multi part OpenEXR image. My code works fine when I save the image as a multilayer tiff or when I save a single layer in a PSD file. However, when I save a multilayered PSD file, all channels appear shifted or broken as if the stride was wrong. I ...
- 2015-12-26T08:41:19-07:00
- Forum: Developers
- Topic: Layers positioning in PSD file
- Replies: 3
- Views: 7013
Re: Layers positioning in PSD file
I missed MagickGetPage, but on trying it, MagickGetPage does not work. It returns all 0 to all values. Still, I am confused. I am looking for the, in OpenEXR parlance, the data window and the display window. That is, the data window is the area where the image has information. The display window is ...
- 2015-12-18T08:13:29-07:00
- Forum: Developers
- Topic: Layers positioning in PSD file
- Replies: 3
- Views: 7013
Re: Layers positioning in PSD file
I solved it. For what its worth, the wand interface has no access to the positioning. It is needed to use the low level api. Getting an Image, the image->page.x, image->page.y, image->page.width, image->page.height contain the bounding box of the layer.
- 2015-12-16T11:09:05-07:00
- Forum: Developers
- Topic: Class 'Image' not found in vc++.
- Replies: 1
- Views: 4710
Re: Class 'Image' not found in vc++.
You are missing a semicolon at the end of Image m_image. However your errors lead me to believe you are missing other semicolons perhaps in the macros you are using.
- 2015-12-16T09:59:21-07:00
- Forum: Developers
- Topic: Layers positioning in PSD file
- Replies: 3
- Views: 7013
Layers positioning in PSD file
I have coded a reader and viewer for the multiple layers of a PSD file using ImageMagick. All works well, except for a detail. All the layers start at coordinate 0,0. When these layers are brought in GIMP, you can see them positioned (and scaled?) somewhere else. I would like to show my layers just ...
- 2015-06-20T17:54:02-07:00
- Forum: MagickWand
- Topic: Crashes on DNG pinging
- Replies: 3
- Views: 11934
Re: Crashes on DNG pinging
Yes, the ufraw-batch was missing. I had no clue ImageMagick relied on external programs to do its conversions. My program still crashes but it is not due to image magick (I tried a simple example and all worked fine).
All is moot, as the reading of the format is too slow to be of any use.
All is moot, as the reading of the format is too slow to be of any use.
- 2015-06-20T14:08:42-07:00
- Forum: MagickWand
- Topic: Crashes on DNG pinging
- Replies: 3
- Views: 11934
Re: Crashes on DNG pinging
I forgot to mention that Krita opens the file just fine.
- 2015-06-20T14:07:56-07:00
- Forum: MagickWand
- Topic: Crashes on DNG pinging
- Replies: 3
- Views: 11934
Crashes on DNG pinging
I am running latest ImageMagick-6.9.1-6 Version: ImageMagick 6.9.1-6 Q32 x86_64 2015-06-20 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC I have tried loading a DNG image file with ImageMagick and the result in display is this: display: delegate failed `"uf...
- 2015-04-17T18:13:58-07:00
- Forum: Users
- Topic: Gamma values in png, dpx and psd
- Replies: 5
- Views: 3700
Re: Gamma values in png, dpx and psd
I read the gamma of 0.4545 as default and it is awful. How can one distinguish an image that is really gamma 0.4545 from one that ImageMagick guesses that it is? I am wondering how to do this from the C api.
Surely a DPX file that is log encoded should not carry a gamma of 0.4545.
Surely a DPX file that is log encoded should not carry a gamma of 0.4545.
- 2015-04-17T14:56:55-07:00
- Forum: Users
- Topic: Gamma values in png, dpx and psd
- Replies: 5
- Views: 3700
Re: Gamma values in png, dpx and psd
I am using ImageMagick 6.9.1-1 on Linux compiled from source with HDRI support and no OpenEXR support.
- 2015-04-17T14:20:12-07:00
- Forum: Users
- Topic: Gamma values in png, dpx and psd
- Replies: 5
- Views: 3700
Gamma values in png, dpx and psd
I have a bunch of png images taken from a web page about gamma with different gammas. My C code opens them and reads their gamma with MagickGetImageGamma() and they are reported correctly. The images display identical regardless of gamma thanks to my opengl code compensating for the image gamma. Tha...