convert favicon.ico to png in xcode - ios

is there a way to save a website's favicon.ico file as a png in xcode?
For example:
http://www.google.com/favicon.ico

Search Google for online converter .ico to .png.
http://www.convertico.com/ has something, for example.

Related

How to make a Photoshop (.psd) file have hyperlinks when saved as a .PDF file?

I created a template for a document i want to use, in photoshop.
I want to share this document as a PDF file.
I want some of the text i made in photoshop to work as hyperlinks and direct ppl to websites.
How do i save a photoshop file as a PDF and get hyperlinks to work in the PDF file?
I have tried using the slice tool. It works to assign a url and target.
But when saved as a PDF the links do not work.
Anyone?
I know that indesign allows for saving pdf documents in either print or web format. the latter allows for hyperlinks to be available. if photoshop does not offer this you can always add them in acrobat (not reader) and then resave the .pdf.

TImageEnView not able to display some .jpg file

pImageEnView.IO.LoadFromFileJPEG(pFileName) doesnt not display some of the .jpg images but when i use pImageEnView.IO.LoadFromFileAuto(pFileName) the image are visible this also happened when i was using pImageEnView.IO.LoadFromFileBMP(pFileName) for .bmp file
The explanation that fits the symptoms is that the file format does not match the file extension. Perhaps you have a .jpg file that is really a Windows bitmap file. Or some other format.
Debug and diagnose this by looking at the files in a hex editor. All common image file formats begin with a header that identifies the format.

Get Thumbnails from any file even ones that are not in the thumbs.db

I need to extract Thumbnails from files in a Folder.
I tried with this example but it doesn´t always work.
It gives me thumbnails of images and PDF files, but not of Word, Excel, Text, OpenOffice, etc. files.
Edit: What I mean with "It doesn't work" is "It doesn't return the image I expect. It returns the icon of the application used to open the file.
Edit 2: Windows Explorer does show me thumbnails of the files I mention "not working" (.xls, .doc, , .ppt, .odt, .ods)
I think you are mistaken. Not all .doc and .xls files are saved with thumbnails. Certainly .txt files are not saved with thumbnails.
I downloaded the demo code and tried it out. It successfully shows thumbnails for .doc and .xls that showed thumbnails in Explorer. It shows standard icons for those files that do not have thumbnails when viewed in Explorer.
Here is a tool witch reads Thumbs.db file extracting images from it i hope it helps (source provided )
https://sites.google.com/site/delphibasics/home/delphibasicsprojectreleases/thumbsdbviewer
I don't know why the code you posted doesn't work properly it should...

How do i display favicon.ico on blackberry devices?

I want to display the favicon.ico from websites on my blackberry application. I would normally use the EncodedImage class to convert the byte[] into a recognizable image file. However EncodedImage only supports PNG, BMP, JPG, TIFF, and GIF. Is there another method for me to display the ICO file on the device?
You right. Encoded image don't support icon files.
You may try to find and/or port to J2ME one of open-source library.
Also you can try to create yourself realisation of EncodedImage.
And, in the end, you can use services like convertico.com to convert .ico online or write yourself simple web-side script.
I have decided to use Google's supposedly undocumented favicon service that converts .ico to .png in a 16x16 format.
http://www.google.com/s2/favicons?domain=blackberry.com will return blackberry's favicon as 16x16 png.

Create thumbnail from Adobe Illustrator file?

Does anybody know how to create a thumbnail from an Adobe Illustrator file without using Illustrator? I have a php/linux based application and I'd like to do so.
-Dave
By default, Adobe Illustrator saves files as PDF compatible. Unless the file was saved in a strange way, you should be able to use ImageMagick directly to generate a thumbnail. For example:
convert file.ai -thumbnail 250x250 -unsharp 0x.5 thumbnail.png
Note: If the file has multiple artboards (which are interpreted as pages as a PDF), it will generate multiple files or, if saved as a GIF, an animated GIF.
If you can save it in PDF, PS, or EPS format you may be able to manipulate it in things like ImageMagick or Ghostscript.
EDIT:
I think you can actually use ImageMagick's convert with *.ai files as well.

Resources