Questions tagged [image-manipulation]

Image manipulation is the term used to describe various operations applied to images such as resizing, removing noise, or alteration of colour depth.

Image manipulation is the term used to describe various operations applied to images such as resizing, removing noise, alteration of colour depth. These operations are usually performed to improve the quality of the image (such as the removal of noise) or to alter it so that the image file is better suited to its intended usage(such as resizing to meet display constraints on a mobile device).

1495 questions
0
votes
1 answer

How can I resize to fixed dimensions?

I searched a lot and I couldn't figure out how to achieve the following: I have a news aggregation service so I am getting images of various dimensions. I have to create a 3 versions of the aggregated story image: 50x50, 150x100 and 278x209. The…
Adam
  • 2,948
  • 10
  • 43
  • 74
0
votes
2 answers

jquery how to preload then swap images in a expander function?

i am using expander.js a jquery plugin for expanding text. Now here is the thing, whenever the expand and collapse are triggered i am supposed to swap an image. now usually that is not a problem. One more piece of information is that there is a…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
0
votes
2 answers

Looping through all images within multiple directories in ColdFusion

I'm working on an image manipulation script to create smaller thumbnail images of the images that are already on the server. The directory structure that I need to search through is as follows: Content -Att1 -image1 …
Glen Robson
  • 908
  • 2
  • 19
  • 42
0
votes
2 answers

My CodeIgniter image manipulation library isn't working the way I want

I have an image. I want its size to be exactly 500x250. I also want to maintain the image ratio. So my plan was to re-size it and then crop. My code for resizing the image is given below. $config['image_library'] = 'gd2'; $config['source_image'] =…
odbhut.shei.chhele
  • 5,834
  • 16
  • 69
  • 109
0
votes
1 answer

Image format question

I'm using an image loader (DevIL) for image loading. Im just wondering if the image format (the uncompressed format in memory) loaded from files (.jpg, .png, .bmp etc) is determined by the image loading program itself, or is some way contingent…
horseyguy
  • 29,455
  • 20
  • 103
  • 145
0
votes
1 answer

Manipulating an Image Dynamicly based on time and database details

I have a JPEG image, which consists of one floor of a building containing various rooms. Based on data retrieved from an SQL database through PHP, and the current time of the day, I wish to manipulate the rooms within the image to change colour…
0
votes
1 answer

Warp image animations on iPhone

just working up to building another app and we'd like to include the ability to animate regions of the screen in response to device shakes/touches etc. For example you could tap the screen and the device would animate a 'poke' into the image at that…
user175392
0
votes
2 answers

Changing RGB values

I am trying to change a part of an image with another image I couldn't find the merging function so I just occur that can I change the rgb values of the part I want to change with the other images RGB values is it possible Thanks for suggestions
eomer
  • 3,514
  • 7
  • 30
  • 42
0
votes
3 answers

Joomla Image Renedering extension with JFactory access

Is it possible to write an extension for joomla or use some existing plugin similar to jumi to be able to render for instance a png image but with full access to user data (with JFactory)? In other words today it's not a problem to create a php…
Maksee
  • 2,311
  • 2
  • 24
  • 34
0
votes
1 answer

Change image colors with GD

I want to learn about images manipulation in PHP and write some code to edit photos. So, I'm reading about imagefilter() function, but I want to edit the collors manually. I have a little piece of code with imagefilter to do a image…
Tomás Juárez
  • 1,517
  • 3
  • 21
  • 51
0
votes
3 answers

what 2 & 3 mean in this and how can i change them CvMat* rot = cvCreateMat(2,3,CV_32FC1)

What do 2 & 3 mean in this and how can I change them? CvMat* rot = cvCreateMat(2,3,CV_32FC1) When I change these two values I get an openCV GUI error handler. size of input arguments do not match() in function cvConvertScale.\cxconvert.cpp(1601) I…
mohammed
  • 867
  • 1
  • 9
  • 9
0
votes
2 answers

Palette Swap an BufferedImage in java

I need to do a palette swap for character sprites for a game I am working on, so if more than one player chooses the same character, they will be in different colors. I have stored all the sprites in BufferedImages and would like to change the…
jedyobidan
  • 876
  • 1
  • 8
  • 14
0
votes
1 answer

PHP-GD make line height compatible across all fonts on text wrap

Ok, so am working on a simple generator using jquery. A user enters a text of his/her choice, selects a font, font-color and font-size. All this properties are displayed on a separate div in real-time (live preview). I now need to save the generated…
Joseph N.
  • 2,437
  • 1
  • 25
  • 31
0
votes
3 answers

cannot import tif file into matlab

i am trying to import a .tif image into matlab with the following code >> aa = imread('house.tif'); i get the error Error using rtifc TIFF library error: '_TIFFVSetField: C:\Users\user\Documents\MATLAB\house.tif: Null count for "Tag 34022" (type 1,…
Win Coder
  • 6,628
  • 11
  • 54
  • 81
0
votes
1 answer

How can I append a relatively sized label to an image?

I have a large number of images with different sizes, ranging from 16x16 to 512x512. I want to append a black label to each of these images saying "Demo Version". Since the images comes in widely different sizes, I want the label size to be relative…
Adam
  • 2,948
  • 10
  • 43
  • 74