|
if this is the error you are getting i figured out how to fix it.
after i do the ./iphone20-artwork.py -import Other.artwork ./img Other.artwork
i got this....
Importing images to Other.artwork from directory ./img...
imported ./img\other-0.png
imported ./img\other-1.png
imported ./img\other-2.png
imported ./img\other-3.png
imported ./img\other-4.png
Traceback <most revent call last>:
File "./iphone20-artwork.py", line 317, in <module>
action_create()
File "./iphone20-artwork.py", line 293, in action_create
import_images<originalData, imageSizes, importDirectory, importPrefix,
outputArtworkFileFullName>
File "./iphone20-artwork.py", line 195, in import_images
r, g, b, a = importedPixels[x, y]
ValueError: need more than 3 values to unpack
__________________________________________________ ____________________
i am pretty sure its saying that i need an alpha layer on my image...but honestly, i am NOT an imaging person and i am suprised that i even got this far, but as of now i need help because i don't know if its something in the python script, although it just so happens that the 2 files that i made were other-5 and other-6 which is where it got the error on, so i kind of ruled that out. can someone guide me on this error please
Regards,
Strider
EDIT: It looks like the layer that i had my image on was a "Background" layer and when i looked at some of the other images they had "Layer 0" so i just made a new layer and named it "Layer 0" and copied everything that was on the "Background" layer and pasted it on the "Layer 0" layer and deleted the "Background" layer. After that it worked fine, now i just gotta test to see if the image saved.
__________________________________________________ ________________________
also...
when you use the iPhoneShop program instead of command prompt it saves the files as other-extract-###. i Ran into the same problem and i figured out that it HAS to be named other-### or else you will get that error when you try to rebuild the .artwork file through command prompt.
Those were the errors that I encountered when I was doing this. if this helps anyone good, because it stumped me for a while :-/
Regards,
Strider
|