You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, July 18th 2011, 7:18am

KRPano gives error while i am using .bmp file in my XML-- Very Very Urgent

Hi,

I am working with KRPano for Android devices and uses Flash Player.
And found that it does not render the .bmp files is this the bug of KRPano or issue of Flash Player.

I have used one .bmp file in my xml and got the following error while try to play the pano.

Quoted


WARNING: not local trusted - ExternalInterface disabled!
ERROR: decoding failed - logo.bmp


Please help me out for this...as it is very very urgent

More to my testing....
If i will create .bmp from Photoshop it will give me the same error.....but if i will create .bmp from MS Paint it will just work fine without any error.
Is there any difference in that two .bmp from two different applications?


--
Pratiks

This post has been edited 1 times, last edit by "pratiks" (Jul 18th 2011, 7:53am)


Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Monday, July 18th 2011, 11:01am

Try png instead.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

3

Monday, July 18th 2011, 11:55am

is it 16bit bmp? I think 24bit and higher will give errors.

But why use bmp? Use png or jpg. Smaller filesize.
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

4

Monday, July 18th 2011, 1:03pm

Hi All,

Actually it fetches data from server so i can't make it .jpg or .png. They have only .bmp file on server.

If still you have some good reason why this is happened please let me know.... :)

Thanks for your help.

--
Pratiks

5

Monday, July 18th 2011, 1:28pm

Hi,

bmp is not a typical internet image format (mainly because it lacks efficient compression and so results in very big filesizes),
the typical image formats today are JPEG, PNG and partially still GIF,

the Flashplayer itself also supports just these formats (JPEG, PNG and GIF),
see here:
http://help.adobe.com/en_US/FlashPlatfor…lay/Loader.html
http://en.wikipedia.org/wiki/Adobe_Flash#Format

best regards,
Klaus

6

Monday, July 18th 2011, 1:52pm

Hi Klaus,

Thanks for your clarification. *smile*

--
Pratiks

Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

7

Monday, July 18th 2011, 1:55pm

you could fix it perhaps, by linking to for example logo.php

In that php script you convert the logo.bmp to logo.jpg/logo,png But im not sure if the image libraries handle bmp. Best way is just asking them to change the image. What Klaus said. BMP is never used on the web. Imo bmp is extinct.
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

Similar threads