Wrong Image Dimensions

Hello, I uploaded my pictures, into the App Inventor and the first one worked perfectly, but all other big images are terribly scaled down by the program. One picture has the size 523 x 737 but after uploading to the program, it has only the size of 122x87 in the app, however if I click preview in the Media area, the size is perfect. Can anyone help me, please?

Scaling occurs when you instruct the Image control to do something

ImageScale .

This might be setting the Height and Width to Automatic (or something else) or checking the ScalePictureToFit box in the Image control’s properties. You might find out how to get the results you desire after reading Using Images with App Inventor .

What your issue might be Adrian we do not know since you did not provide an example of what happens or how you set your controls.

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ for more tutorials.

Regards,
Steve

After some trying I found the error.
I reduced the largest edge of the image to 720px and now it is shown in perfect quality. Looks like App Inventor does not like big pictures.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.