New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Unknown tagged block iOpa #15
Comments
Hi @jenil27, psd-tools doesn't know what is 'iOpa' tagged block; it is not documented in Adobe specs and I haven't seen it elsewhere when the code was written. I think you could ignore this warning. It shouldn't be a warning though, because user of the library can do nothing about it. I'm not closing this ticket because it shouldn't be a warning, and because it is better to figure out what does this block mean and how to decode it (most likely by looking at alternative psd reader implementations). |
hey @kmike thanks for your reply. It is a Adobe specs file, I am sure. I am not sure what is meant by a tagged block could you help me with that?
it get an error:
I have installed Pillow and it works fine. |
@jenil27 I don't follow: you said the code works fine, what help do you need? It is documented in both README and in exception message itself that you need PIL or Pillow; PIL/Pillow is an optional dependency and some parts of psd-tools can be used without them. Specification I'm talking about is http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ ; it doesn't have information about |
@kmike Why am I getting an error when i do |
@jenil27 sorry, I read your question incorrectly.
If Image is None you get "This module requires PIL (or Pillow)" exception. Could you try running it in the same console/environment as |
How can I resolve it? |
Does |
Okay, I got this error
|
Ah, I see. This could mean Pillow is installed without LittleCMS support. LittleCMS is required to get correct colors for some images, and it turns out it is not optional at the moment. So there are 2 ways to resolve that:
|
Yep, the exception message was unhelpful. |
Installed LittleCMS and reinstalled Pillow made it work! Cheers! |
I'll reopen it to track the original bug report about 'iOpa' unknown tagged block. |
Hello @kmike, recently i've tried to open PSD from Photoshop CC and got following warnings:
After re-saving in Photoshop CS5, only following error left:
However, all my layers with effects on them (in my case - color overlay effect) are rendered like those effects are nonexistent / disabled (layer / group is still saved, but colour overlay effect is ignored). |
Hi @GaborWnuk, Would it be possible for you to provide a small example PSD file for which psd-tools shows the described warnings so that we can add it to the testing suite? Do you export layer groups? Currently this feature is experimental, and it produces the precise result only in simple cases - alpha transparency is supported, but nothing more. Effects information is parsed since psd-tools 0.10, but applying the effects is an another (harder) task - to make it work we should emulate Photoshop rendering features. I hope psd-tools will eventually get this feature, but it won't happen overnight; any help is welcome. Exporting the whole image and exporting individual layers should work much better because for individual layers and for the whole image there are bitmaps prerendered by Photoshop available. There are no prerendered bitmaps for layer groups - that's why layer groups rendering is much more involved. "Unknown tagged block" warnings should be harmless, you may ignore it unless you need information from these blocks for some reason. If you have some ideas about what these blocks are - please share them! "Unsupported channel type" warning means psd-tools doesn't know how to deal with a particular kind of image channel. I may be mistaken, but it seems user layer mask don't affect rendering of the final image, so this warning may also be ignored. |
Hello,
I am getting this warning. Please help.
The text was updated successfully, but these errors were encountered: