Questions related to images, including creation and modification

learn more… | top users | synonyms

5
votes
1answer
284 views

Rendering scaled-down card images

I have high-quality SVG card images, but they drastically lose their quality when I downsize them. I have tried two ways of rendering cards (using Inkscape and Imagemagics): 1) Render SVG to high-res ...
1
vote
2answers
376 views

Recommended formats to store bitmaps in memory?

I'm working with general purpose image rendering, and high-performance image processing, and so I need to know how to store bitmaps in-memory. (24bpp/32bpp, compressed/raw, etc) What is the "usual" ...
1
vote
1answer
227 views

Absorbtion 2d image effect

I want to create a specyfic 2d image effect. It consists in modifying a sprite so it looks like it is being zoomed to a point or "absorbed" by that point. I'm not really sure what is the technical ...
7
votes
3answers
1k views

Storing a Hex Grid

I've been creating a small hex grid framework for Unity3D and have come to the following dilemma. This is my coordinate system (taken from here): It all works pretty nicely except for the fact I ...
4
votes
4answers
464 views

Can a high FPS negatively affect how a program runs?

Yeah I know this is a broad question and will get down rated, I'm just hoping for some answer before it gets closed. Anyway, I'm using Slick 2D/Java to play around with graphics. I'm having some ...
1
vote
0answers
351 views

How to code a 4x shader/filter which emulates arcade crt display behavior?

I want to write a shader/filer probably in adobe Pixel Bender that will do the best job possible in emulating the fill of an oldskul monochromatic arcade CRT screen. Much like this here: ...
5
votes
2answers
978 views

OpenGL 3.0+ framebuffer to texture/images

I need a way to capture what is rendered on screen, i have read about glReadPixels but it looks really slow. Can you suggest a more efficient or just an alternative way for just copying what is ...
1
vote
1answer
425 views

Lost transparency in SDL surfaces drawn manually

I want to create SDL_Surface objects for each layer of my 2d tile-based map so that I have to render only one surface per layer rather than too many tiles. With normal tiles which do not have ...
-1
votes
1answer
428 views

How do I increase the size of a buffered image to the left and upwards?

I need to know how to increase the size of my buffered image to the left and up, not just the right and down. bI = new BufferedImage(yMax*size*5, xMax*size*5, BufferedImage.TYPE_INT_RGB);
2
votes
1answer
147 views

Multiple images written and read from one meta-file?

Short version: I need a way to store multiple image files in one bigger file, to be used using C#, preferably easily compatible with XNA. The files will be read, written to, but also adaitional files ...
-1
votes
2answers
189 views

Dealing with new animations in html5

Wish I knew of a better title, but the issue is rather specific. So the producer of the game I'm working on has given me new animations to put in the game. I knew there might be issues right off when ...
2
votes
2answers
274 views

there is a BLOB standard to store images in memory?

I would like to abstract all the images in memory, to do so i would like to have just 1 format of reference without talking about the usual file formats for the filesystem like JPG, TGA, and so on. I ...
3
votes
1answer
293 views

What algorithms exist for generating collision geometry from an image?

I am currently working on a game using SFML and Box2D. I am interested in generating collision geometry from the sprite data that I load into SFML. So, for example, an algorithm that would do this ...
2
votes
1answer
109 views

How to combine image with a gradient? Or make it more featured in a different way

I generate an abstract 128x128 image, that is in general two-color (it uses values scaled between "blue" and "white", or other similar color pair). I need to make the image more "featured". ...
2
votes
2answers
971 views

Best practice for image compression

Which is the best format or best technique to compress images without loss of quality for iPhone/iPad games?
37
votes
7answers
2k views

Managing text-maps in a 2D array on to be painted on HTML5 Canvas

So, I'm making a HTML5 RPG just for fun. The map is a <canvas> (512px width, 352px height | 16 tiles across, 11 tiles top to bottom). I want to know if there's a more efficient way to paint the ...
5
votes
1answer
252 views

Split Texture2D Across Line

Background I'm using a texture as a damage map represented by an array of floats for displaying damage effects on a space ship in a process. An upside of this is being able to 'slice' ships in ...
0
votes
1answer
1k views

Slick2D - Cannot instantiate the type Image

I am getting this strange error and I cannot for the life of me figure out why: Cannot instantiate the type Image CODE: import java.awt.Image; import org.newdawn.slick.GameContainer; import ...
0
votes
2answers
167 views

DrawImage doubt

What is the best option for animation in a game (HTML5 Javascript)? Put all the images in one png and change the background. Or create each image separately and draw with DrawImage?
2
votes
1answer
153 views

Is there a way to export all the images of my tweening effect in Flash?

i'm using Flash to create the animation of my character in 2D (i'm just beginning). Is it possible to make a tween effect of a character, and then automatically export all the images/frames? So far, ...
0
votes
1answer
301 views

How to select an image on the J2ME Canvas

I am working on J2ME. I have got a canvas, with a layout of a Checkers board. At the position of pieces, I have placed images. The point at which I got stuck is, how to select/highlite a piece's image ...
6
votes
4answers
2k views

Which image format to use for sprites in an HTML5 game?

In a 2D HTML5 game, what is the best image format to use and why? Should I use different formats in different situations? For example, .png for the background image, .jpeg for the animation frames and ...
1
vote
2answers
1k views

Dynamically load images inside jar

I'm using Slick2d for a game, and while it runs fine in Eclipse, i'm trying to figure out how to make it work when exported to a runnable .jar. I have it set up to where I load every image located in ...
1
vote
1answer
190 views

Pixelated and incomplete image when loading with pygame.image.load

This is the image I'm trying to load on the surface, an 40x40 Ubuntu logo: Ans this is how it looks when trying to show the image on the surface via the blit method: I'm trying to load different ...
0
votes
1answer
6k views

DevIL image library isn't loading my image

This is the first time I've had this problem, my code just won't load the images I need it to. Here is my first function for loading the image into data: void ...
4
votes
1answer
1k views

How can I convert a 2D bitmap (Used for terrain) to a 2D polygon mesh for collision?

So I'm making an artillery type game, sort of similar to Worms with all the usual stuff like destructible terrain etc... and while I could use per-pixel collision that doesn't give me collision ...
0
votes
1answer
90 views

What is the best way to turn image voting into a game? [closed]

I'm trying to come up with a design for an image voting site that turns the (potentially boring) task of voting on thousands of images into a game. The goal is to get the user to vote on as many image ...
0
votes
1answer
198 views

Image Processing in game engines

I'm going to try and use GEGL to allow real-time texture manipulation on an open-source 3D game engine. What are the most common and most needed operations used on images, textures in game engines? ...
2
votes
1answer
559 views

How can I resize a set of sprite images?

Hey StackExchange GameDev community, I'm attempting to resize series of sprites upon instantiation of the class they're located in. I've attempted to use the following code to resize the images, ...
1
vote
1answer
652 views

Using Slick2D/LWJGL to brighten an Image

Using the Slick2D Library for Java, I want to know if there is a way to brighten an instance of org.newdawn.slick.Image. I'm willing to use other image-manipulation libraries if need be.
1
vote
0answers
174 views

Creation of .des files from .png files?

A DES file is text file. In this file you can find information about the atlas(sprrite sheet) file including: where to find atlas (sprite sheet) image AND describe the position of original image on ...
1
vote
2answers
1k views

How do I set a single pixel of an image in Slick2D?

I would like to set an individual pixel in Slick (i.e Image.setPixel(x, y, r, b, g)) but I can't figure out how. There is an Image.setPixel function but it doesn't take x and y coordinates. Any ...
1
vote
1answer
2k views

Moving an image by rotating and increasing y axis causes a trailing issue

Forgive me if me anything is unclear, this is a tricky thing for me to explain. In an applet I draw a little ship gif. I have it so I can rotate the object and then increase or decrease the y axis to ...
0
votes
1answer
303 views

Keep running CGRectIntersect Method - Objective C

I have two UIImageViews. mainSprite, and enemy1. And I have a method that makes enemy1 start moving towards mainSprite. So here's that method. -(void)enemy1Aggro{ if ...
1
vote
2answers
264 views

Why is the background image less smooth on the phone?

I've just downloaded Gamestate code from create.msdn.com, and as you can see from the image below: The result is less smooth then the image imported to visual studio, how do I increase the quality? ...
0
votes
1answer
207 views

Creating a vertexbuffer to define vertices arranged in a grid with the view for easy editing later

I'm using the marching square algorithm (2D version of marching cubes) to generate vertices. I end up with vertices arranged in a grid. I want to enable destructible terrain, and the way i was ...
2
votes
1answer
233 views

Basic knowledge for 2d gaming and images?

Can anybody refer me some pdf or ebook that i should follow for basic 2d programming and texture ,shaders and other gaming elements details in depth.By which i can easily get through the 2d game ...
2
votes
2answers
2k views

Loading and rendering one large image or many smaller ones

I am working on an android game with a top down style view similar to the original GTA's or a scrolling version of Legend of Zelda. I have recently begun designing some prototype levels for the game ...
6
votes
1answer
2k views

How to create a XNA texture from a GDI Image with source rectangle?

A Texture2D in XNA can only hold so much. Depending on which profile I use that limit is either 2048 or 4096 pixels wide. As far as I could tell from my research (someone correct me if I'm wrong) GDI ...
7
votes
2answers
1k views

How can I resize pixel art in Pyglet without making it blurry?

I have a tileset of 8x8 pixel images, and I want to resize them in my game so they'd be double that (16x16 pixels, e.g. turning each pixel into a 2x2 block.) What I'm trying to achieve is a ...
14
votes
4answers
1k views

Why would some PNG files extracted from games display incorrectly?

I've noticed extracting PNGs from some game files that the image becomes distorted part-way through. For example, here are a couple of PNGs extracted from the Textures file in Skyrim: Is this some ...
3
votes
1answer
187 views

Can I use one set of images to represent multiple sprites in Java?

I've got a game that has 3 basic sprites, at the moment I'm loading 8 images into each sprite for animating. Each character class has a sprite object. if I've got 10 characters on screen at once ...
1
vote
1answer
116 views

What game systems exist which uses camera input?

The group and I is in the middle of a semester project where we are currently researching on which game systems are using camera as input or as an interactive medium? We would like some help listing ...
-1
votes
2answers
152 views

Where can I find a collection of images or frames? [duplicate]

Possible Duplicate: Where can I find free sprites and images? Is there a repository of small images... for example a spacecraft in space or a Mario Bros jumping and running... Thanks in ...
1
vote
2answers
453 views

Pygame circular cropping/masks

I have been going through the documentation and the Pygame functions and classes today, but couldn't find a reasonable way to either create a circular crop of an image or how to use a mask to perform ...
1
vote
2answers
753 views

Image splitting / tiling software for Mac

I have been programming for a bit and for 2D games and other applications I frequently make large images for the levels / the maps. Before I place these into the games I split the large images down ...
2
votes
2answers
817 views

State of the art in image compression?

I'm looking for good algorithms for compressing textures offline (ie decompressing them at install or load time, I know about using DXT/3DC to save runtime video memory, but these create awful visual ...
1
vote
1answer
195 views

Image drawing tools (that aren't Photoshop) that work in the sRGB colorspace

I'm looking for a way to create sRGB raster images. Now, I could use Inkscape and just have it render to a raster format, but are there any image drawing tools other than Photoshop that work in sRGB? ...
7
votes
5answers
1k views

Is there a game oriented graphics or image editor?

I remember looking a few times over the years for an alternative to Photoshop for editing images. I've tried using Gimp too, and that's also not quite sufficient. There are some problems that have ...
2
votes
2answers
303 views

How do you handle iPhone graphics for both high and low DPI settings?

How do you guys create your game graphics for iPhone? Considering you need a retina version and a nomal one? Do you create a big version of your image, save HD, then resize to smaller version, and ...