I have a web page using css and javascript and also this webpages have tiff and gif images. When i loaded this webpage locally in ipad it is not working as i can only see white page and not my images. But when i moved this folder to one of the server and when i tried to load this website remotely. I got this error:
"_CGImagePluginInitGIFmalformed GIF file (1024 x 748)"
But It is working properly. So i was wondering if there is any problem using the tiff and gif images locally?
Is it possible that there's really a error in the GIF?
If you're able to open the GIF in an other application, try to re-save it. It will probably fix the malformation. If it doesn't work try to save it in an other format. (Try OS X's Preview, it's good for these kind of things...)
The problem was with the javascript files which i moved to the copy Bundle Resources from Compile Sources.
Related
I have an IOS react native app that uses expo-image-picker to get images from the Image Library and Camera. When testing the app through Expo Go on an iPhone SE, the uri in ImagePicker.ImageInfo always gives a jpg file.
This behavior persists even when I upload an HEIC file to my phone, and use that file with the image picker. I also have High Efficiency setting enabled in the format section of the camera settings.
While this is my desired behavior, I don't want to rely on a misunderstanding of the library. Nowhere in the documentation are HEIC files mentioned, except for one example that indicates it is possible for the library to retrieve HEIC files.
Is it possible to get HEIC files, if so how?
I've been spinning my wheels on this subject for a few days. I have Xfinium PDF in a Xamarin.Forms application I'm working on and I need to generate a pdf in different languages. So I have different .otf files set up as a PdfUnicodeTrueTypeFont. Now this works in iOS no problem, but in Android the PDF is generated blank if I try to generate it in a language that needs one of these fonts. I also have lost the ability due some other things going on in my work environment to side load to android or debug in android at all.
Make sure the font is embedded in the PDF (either by looking at the file directly or using an application to get information on embedded fonts).
If the font is not embedded it's possible that Android is failing to fallback to another font for some reason. Does the PDF open correctly Chrome?
I am trying to develop an Apache Cordova Application with Visual Studio 2013 for Android, using Typescript. I am unable to display my PDF. My program begins by downloading the PDF file to the Android Device from a website. After this though, I am unaware as to how to use pdf.js to display the downloaded PDF. I tried looking at the examples and implementing them on a HTML file in IE, but I've been unsuccessful with all attempts to display any kind of PDF, so a sample that works, but not on Android is also appreciated.
so a sample that works, but not on Android is also appreciated.
The PDF js hello world : http://mozilla.github.io/pdf.js/examples/learning/helloworld.html You can open it on android too.
I am using PhoneGap InAppBrowser to load pdf in my app. It is loading pdf in IOS, but there is no location bar shown, and on Android pdf is never loaded.
Here is my code to load pdf
iabRef = window.open('sample.pdf', '_blank', 'location=yes');
Not sure if this counts as an answer, but I believe this is a known bug. It is marked as fixed in the 2.4.0 RC here.
Ran into the same with 2.4.0. I switched to using the _system browser in my open call. It's not ideal, as it opens a browser that simply downloads the file, but at least it works.
I am using a WebView control under WinRT to display html pages that are loaded from a sub folder of my Assets folder. When I run my app on a Windows 8 PC or on the tablet emulator everything works fine. However, when I am running on an actual Surface tablet, the pages do not seem to be loading the .css file and are, therefore, not formatted properly.
Is there something that I am missing here?
Thanks
Verify that the CSS file is being included in the app you're running on the Surface. Create an app package and then look inside it. To be thorough, copy the app package to your Surface and run it there to verify that the problem still occurs.
Run the Windows App Certification Kit (WACK) tool to uncover common problems. This is just a wild guess, but maybe your CSS file has the wrong encoding, and this causes a problem on Windows RT. Really, this is just a wild guess.