Invalid Image Asset -Top Shelf Image - must be opaque - tvos

I am getting ERROR ITMS-90497, Invalid Image Asset -Top Shelf Image - must be opaque, when using this image:
I'm testing with this image to get it working and trying to upload a tvOS application to TestFlight.

The PNG image you're using contains Alpha Channels. Open the image with Preview and go to File > Export > Uncheck Alpha > Save.
This will save the image without Alpha Channels.

Related

Error while uploading tvOS app

I got the following errors:
ERROR ITMS-90528: "Invalid Image Asset. The image asset 'App Icon - Small' in 'Payload/Projectname.app' has an invalid scale value of '0'.
Home Screen Icon assets are allowed scale values of ( "1" ).
ERROR ITMS-90523: "Invalid Image Asset. The image stack 'App Icon - Small' in 'Payload/Projectname.app/Assets.car' can't have a
transparent background layer.
ERROR ITMS-90531: "Invalid Image Asset. The image stack 'App Icon - Small' in 'Payload/Projectname.app/Assets.car' must have a background
layer that's 400x240 pixels.
ERROR ITMS-90532: "Invalid Image Asset. The image stack 'App Icon - Small' in 'Payload/Projectname.app/Assets.car' has an incorrectly
positioned background layer.
I checked everything and both the small and big sized icons for the tvOS app are on the perfect size, background is without transparency and on the size as needed. Both looks perfect on the preview and on the actual Apple TV system.
The icons assent was created from the formal Photoshop plugin Apple supplied. No clue where to go from here.
Seems that making all layers of the icon full size solved the problem. Means not using the location of the layer but making the asset in a way the location is already on the full sized layer.
Just to make clear, All layers of the small icon (400 x 240 pixels) are with 400x 240 size with transparency except for the background layer which is without transparency offcourse.
Seems like a very odd bug so I though publishing it.
After 3 days trying to solve the ERROR ITMS-90523 this was what it was happening to me:
The error uploading my app said the App Icon Small was wrong. At the end yes, it was a problem because one image had a transparent background layer but it was in the background App Icon LARGE!! Xcode Version 8.3.3 (8E3004b)
TvOS upload - error said the problem is with App Icon stack. The problem was actually in the App Icon - App Store stack. Removing aplha channel in the Preview app solved it.

Particle effects libgdx

I have made a particle effect using the particle editor that comes with libgdx. Now, I need to provide the particle effect load method 2 arguments - One is the particle file and one is a base image of the particle.
My question is - where can I find the image for the particle, the second argument?
That should be the image(s) you used in the particle editor to create the particle effect.
You'll want to place them on your project assets folder. For example in assets/particles:
particleEffect.load(Gdx.files.internal("particles/particleEffect.p"), Gdx.files.internal("particles"))
The first image is the .p image that you generated by particle editor and the second image is the actual image that we can use for the effect, say, sample image of a water drop. You should copy that image into your Asset folder and you should set the path of the second image in your .p file.
Copy an image to the asset folder.
Double click on .p file.
Search for .png file.
Set the path for the image that you saved in the asset, e.g. Drop.png.

phonegap put gif on image loading till it is loaded

I have a phonegap application that loads external images.
sample img code:
<img src="http://example.com/hello.jpg">
Will use this code to put the gif with some css
<img src="loading.gif">
I want to show a loading gif on top of the image till the image has been loaded and hide the loading gif afterwards.
Want to know how to detect if image is ready and hide the gif.
Thanks
There are a few ways to do that. Off the top of my head and in order I'd try them:
Use phonegap's File API to download the image, and display it only once you've got it.
Use an XHR to download the image, and once you get the whole thing send it to the image via a data: URI.
Set your "loading.gif" image to a lower z-order than the foreign image, with the same left/top/height/width.
Use 'loading.gif' as a background.

Windows Phone 8 tile doesn't show correct image

Does anyone know why my Win Phone 8 app tile doesn't show the icon I set? This is what I get (and yes, am am sure that's not my app's icon):
This is what I have so far and I ran out of ideas of what can be wrong:
The small icon is a png of 110x110
The medium icon is a png of 202x202
Both images have the build Type = Content
Both images have the copy to output property = Copy if newer
The application icon is the same as the small icon and it shows alright in the program list.
Here is a part of my app's manifest:
<TemplateIconic>
<SmallImageURI IsRelative="true" IsResource="false">Assets\Icons\AppIcon_small.png</SmallImageURI>
<Count>0</Count>
<IconImageURI IsRelative="true" IsResource="false">Assets\Icons\AppIcon_medium.png</IconImageURI>
<Title>
</Title>
<Message>
</Message>
<BackgroundColor>
</BackgroundColor>
<HasLarge>false</HasLarge>
<LargeContent1>
</LargeContent1>
<LargeContent2>
</LargeContent2>
<LargeContent3>
</LargeContent3>
<DeviceLockImageURI IsRelative="true" IsResource="false">
</DeviceLockImageURI>
</TemplateIconic>
If you use TemplateIconic tile the images need to be transparent icons as outlined in Iconic Tile template for Windows Phone 8 because it is just going to end up being a white icon inside a tile. Your image appears as a white square because it does not have any transparency. With the images you have, you would want to use the TemplateFlip tiles and adjust the size of your tiles accordingly.
I had the same problem.
After a lot of brainstorming I tried this and woah it worked!
Check if the image you are setting has a white (or other) background color. If it has, remove the background from the image using Photoshop(Tool: magic eraser) and keep the background transparent.
Replace this transparent background image and it will show up in emulator!
Hope this works at ur end too! :)
Did you look at the manifest file? You can choose the images in that file. I mean using the UI in the studio, open the manifest file and choose the image.
According to Iconic Tile sizing info in Iconic Tile template for Windows Phone 8, both small icon and medium icon must be design with transparent background.
The small icon is a png of 70x110
The medium icon is a png of 130x202
If you need to set the background color, set the BackgroundColor in WMAppManifest.xml as follow.
<BackgroundColor>[hex ARGB format color]</BackgroundColor>
I work with Xamarin.Forms (Shared) for my WP-app and also had problems to implement the Tile in the WP-part of my project.
To set the background to transparent to the tile image have done the job.
But I have used images with 158x158 and 336x336 what also works and allows to use the standard-icon (in a higher resolution) what - I think - most users want to do.
I have created a short description for all visitors, who use XF for WP-development (including app-icon, splash-screen and Tile).
How to add app-icon, splash-screen and Tile in a WP 8.0 XF-project

Check if uploaded image is CMYK in ActionScript 3.0

Is there any way to figure this out which user uploaded image in our flex project is RGB or CMYK?
Something like using byteArray and check the specific place of CMYK/RGB header on it...