As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to create an favicon that looks the best it can when displayed by the main browsers (including IE7) but has the smallest file size possible. What size and colour depth is best for each image involved?
I have just created a new icon with the following images within it.
16x16 bit (8 bit colour)
32x32 bit (8 bit colour)
Should I create any other images for either desktop shortcuts, Win7 taskbar pinning or any other use a browser or OS makes of it?
Note: This is not to do with whatever software you can use to create favicons
If you want all browsers to support it, it must be an icon file, .ico file extension.
If you're concerned about size i assume people are hitting your site over a slow connection. If you put the file, named favicon.ico, in your root directory and do NOT include an html link tag to it, it will be loaded AFTER the rest of your site, so then you can comfortably include both a 32x32 and 16x16 version, I believe in one file.
You should read this site,
and this site.
just stick to 16x16 resolution.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
My site works on the current versions of the browsers I tested (Ff, Chrome, Safari, IE9). But the layout is totally messed up in iPhone Safari (iOS 6.0).
Have a look:
http://btb-2.ch.emerson.ch-meta.net/ueber-uns.html
I searched the internet for specific problems of iPhone's mobile-Safari, but could only find some points about fixed positioning.
Where to start with debugging if your layout is messed up in iPhone Safari?
What are typical problems?
Thanks for any hint.
The reason being that the screen size is lower on an iPhone. It has a smaller width and your contents get squeezed together. Try dragging the edge of your browser to reduce its width and you will see the problem showing up.
Check your <div id="container">. It is being pushed up as the screen size is reduced.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a huge html file with data programmatically changing. I want to convert this html into PDF and email it as an attachment. Can someone please suggest can I achieve this?
If you want to create all "image" PDF, which means all text will be image (no vector) it's very easy. Essentially it is like below
Open HTML in UIWebView
Capture the web view, part by part by rendering it into an image context. In other words, we will take a snapshot of the web view, render it into an image context, and save it to our documents directory. We will then programmatically scroll the web view, again take a screenshot and save it, and repeat the process till we reach the end of the web view.
See the details here
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
The question is how to tell system which UI (images , custom buttons, and so on) to show (i must to have some copies with a lower resolution and other copies with better resolution ), because iphone 3gs has a lower resolutin than iphone 4. UI of app should look greate on both devices. How can i get that ?
Read the Resource Programming Guide section called Specifying High-Resolution Images in iOS in the Image, Sound, and Video Resources chapter.
Your non-retina images should be called image.png (where image is your specific filename). The retina versions should be called image#2x.png. The correct one will automatically be selected.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have problem using arabic font for iOS.
All fonts have the same render, and I am trying to test the workaround described here:
Custom Arabic font in iOS
The problem is that I don't know how to use it, I added ArabicShaping h and cpp files
The code compiles but I don't know what to do next.
Thanks in advance
i have created new class in objective c that do just this, it allow you to use custom fonts for arabic text in ios, check github
https://github.com/Accorpa/Arabic-Converter-From-and-To-Arabic-Presentation-Forms-B
For complex font rendering, you'll need to use another library as iOS does not support it. One such library is available on github.
https://github.com/mta452/SheenFigure
It uses FreeType or CoreGraphics for glyph rendering. Currently it supports Arabic/Urdu fonts with complete substitution and positioning.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I want to create a slideshow on iphone. I don't know if there is already a sample code or a lib that already do that.
Thanks for your help
Joe Hewitt who created the Facebook iPhone app open sourced the code he wrote to create the Facebook application. Most notable is his image viewer that he created. I am certain if you checkout his work you can find what you are looking for. His project lives on github.
https://github.com/facebook/three20/
Reference to his work from his website:
http://joehewitt.com/post/the-three20-project/
Check out the WWDC 2010 Session entitled "Designing Apps with Scroll Views."
The source code is here:
http://developer.apple.com/library/ios/#samplecode/PhotoScroller/Introduction/Intro.html
And this is a handy image-slicing tool:
http://iphonedevelopment.blogspot.com/2010/10/cutting-large-images-into-tiles-for.html
If you just want to show different pictures one by one, you can simply use, for example, NSTimer, that will change content of your image view. It doesn't need any lib.