• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

How to load jpeg image

9 posts in this topic

Pay the licensing fees required to use the JPEG encryption/decryption algorithms

Nobody is keeping you from learning the file format on your own, and I'm sure there are at least some sources of information on it on the web, but it is quite complicated, and takes a lot of processing power to uncompress, so I wouldn't recommend it.

However, I think that if you were to use JPEG files in a commercial game you would stand to get sued for copyright infringment or something. But nobody is gonna sue you if it's just to learn (which I think it is).

0

Share this post


Link to post
Share on other sites
I don't believe that the .jpeg format requires licesing fees... Thats the .gif format you're thinking of. Anyway there is something called jpeglib written the the JPEG group that will do decompression for you. I suggest searching for that if you need to load .jpeg files.
0

Share this post


Link to post
Share on other sites
I believe Torval is right. GIF is the one that costs money. After a while, the guys that made it decided that they would start charging for it, hence the creation of PNG files (or so the story goes).

------------------
Visit the homepage of my (soon to be 'net multiplayer) Tank Game at http://members.home.net/chris-man

0

Share this post


Link to post
Share on other sites
Decrypting ANY file format is perfectly legal and free.

Its just the Encryption that costs money.
The .gif case has gotten rediculous now, because Unisys (is that the gif company?) is now trying to get royalties from anyone who even has one on their web pages.

Of course, this is illegal, and impossible to enforce anyway.

0

Share this post


Link to post
Share on other sites
Is it legal to use .PNG files in commercial/non-commercial games?

------------------
Drago

0

Share this post


Link to post
Share on other sites
yeah, the GIF thing...

but JPEG comes from the same lovely people that brought you MPEG (motion picture expert group), so wouldnt it have some sorts of restrictions to using it?

oh well.. I still don't recommend using such file formats for games.

0

Share this post


Link to post
Share on other sites
OK, you can't use GIF images in your game, that's a forgone conclusion, however, you can freely use JPEG (Joint Photographic Experts Group) images freely and indeed the homepage actually has source (C/C++) for loading them. Sadly, I don't havea URL for it . However, the format is lossy so it's not a great choice anyway.

If you want to, you can freely use PNG and again, the homepage has source for loading them.(http://www.cdrom.com/pub/png/).

0

Share this post


Link to post
Share on other sites
in VB, you can load a jpg, gif or bmp image with the function loadlicture (in asycpict.dll)
how can i use it (in C,C++), with directX surface ?
0

Share this post


Link to post
Share on other sites
How to load jpeg image to direct draw surface (in C, C++)
0

Share this post


Link to post
Share on other sites
You could also have a look at:
http://developer.intel.com/vtune/perflibst/IJL/

It's a jpeg library with heaps of documentation.
Here's the blurb:

The Intel JPEG Library provides a set of highly optimized C functions that implement JPEG compression and decompression on Intel architecture
processors. You may use this library if you agree to all terms and conditions of the License Agreement.

regards,

martin

0

Share this post


Link to post
Share on other sites