This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes image conversion from jpg to jif Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "image conversion from jpg to jif" Watch "image conversion from jpg to jif" New topic
Author

image conversion from jpg to jif

lina ajay
Ranch Hand

Joined: Apr 04, 2008
Posts: 31
hello,

I want to paste a logo which has been mailed to me in jpg format .but in my program i have to replace it with the existing logo which is in .jif format.do i hava to convert the image from jpg to jif?

thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
What is a "jif"? It's not a commonly used image format, so you'll need to tell us what it means. Or do you mean JFIF? If so, most JPEGs are JFIFs already.


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61451
    
  67

Or did you mean GIF?

Why the conversion? Browsers can display either format. Why bother?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
If you meant GIF, note that that's a lower quality format than JPEG (8 bit instead of 24 bit). The image might well look crappy after the conversion.
lina ajay
Ranch Hand

Joined: Apr 04, 2008
Posts: 31
i am sorry i meant gif.it was a typo.
thanks for the response
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Lina,
Googling convert jpeg to gif yields a bunch of ways.

I can think of one scenario where this is useful. If a bunch of apps point to the jpeg image and you need to change the image before they can update their reference to the image. In this case, I'd leave up both a gif and jpeg version and tell the callers to switch with their next release.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: image conversion from jpg to jif