Dear all,
Our team got some very strange problem and we have been try to solve it for a while, however, we cannot get it done, we hope somebody here can share of of your talents to help us.
The problem is, we have a photography app, which works in iPhone 3G and iPhone 3Gs, however, for quite a few iPhone 4 users (Not every one, for ...
How do I send an image to a server for post-processing?
From server to client is easy, but when it comes to the opposite, which is the best way to proceed?
...
I'am using this code to resize image. But result is not fine, I want to best quality. I know its low quality because I also resize same image with photoshop and result is different so better. How do I fix it?
private static Image resizeImage(Image imgToResize, Size size)
{
int sourceWidth = imgToResize.Width;
int sou...
I would draw an image on a pdf file created by my iPad app.
How can I do?
Thanks.
...
Hey all, weird question. My company has an application from another company that records an image taken by a camera connected via Ethernet. Their app is written in C++ and I've been trying to convert/hack it using Java.
I'm able to receive images, but the quality is not the same. The photo on top is from their app and the photo on botto...
I set up a VirtualBox to use two monitors. I tried taking a screenshot of a window on the second monitor:
import ImageGrab
im = ImageGrab.grab(windowrect)
im.save("img.png")
windowrect I verified to be the correct rect of the window, in this case, (1616, 2, 2594, 732). However, img.png is just a big black box. Any ideas how to fix thi...
Hi, does anybody know what to do with this problem: my image in a custom MKPolygonView is flipped upside down?
The idea (this is working OK already) is having an class "SnowmapsOverlayView" that extends "MKPolygonView", that displays a image. This image has a default location & size on the map (acts as a GroundOverlay in the Google Map...
hello All,
I was able to generate python bindings for a camera library using SWIG and I am able to capture and save image using the library's inbuilt functions.
I am trying to obtain data from the camera into Python Image Library format, the library provides functions to return camera data as unsigned char* .
Does anyone know how to c...
I'm using a convolution matrix for sharpness in PHP GD and I want to change the sharpness "level".
Where would I make changes to this if I want to make it more or less sharp?
$image = imagecreatefromjpeg('pic.jpg');
$matrix = array(
array(0, -1, 0),
array(-1, 5, -1),
array(0, -1, 0)
);
imageconvolution($image, $matrix, 1, 0...
Hello,
I want to know if there is any way to append something like white border around iPad image thumbnails without too much performance issues?
Something like in XHTML\CSS where you get Polaroid like appearance.I think you may have got faint idea.
Any guidance is highly appreciated.
...
Hello there.
I searched this site and found a very useful snippet of code that i've been able to use.
$counter = 0;
foreach (glob("images/gallery/photo_gallery/resized/*.jpg") as $pathToThumb)
{
$filename = basename($pathToThumb);
$pathToLarge = 'images/gallery/photo_gallery/' . $filename;
echo ('<...
I am working on a class that maintains a dictionary of images.
This dictionary should be saved to and loaded from a file.
I implemented the below solution, but the problem is that according to MSDN
documentation for Image.FromStream();
http://msdn.microsoft.com/en-us/library/93z9ee4x(v=VS.80).aspx
"The stream is reset to zero if t...
is there a way to get safari not to show the "broken image" symbol, when an image was not found? firefox does this by default.
i'd preferrably do this with css, but i think javascript will be the way to go... i am using jquery already, eg something like this would be great:
$(document).ready(function(){
$('img').broken().hide();
})...
I'm creating an application to display multiple videos concurrently (lets say 2-10 videos). I'm basically looking for an algorithm which can aid in the placement of the videos on the screen. The problem I face is that each video may have a different aspect ratio, and I will obviously need to resize the videos to make them all fit on the ...
I have an image that has a fairly large shadow around it and its background is transparent. I have saved it as a PNG file from photoshop and am using it in an ImageView through xml. This results in the shadow having a banding effect and just doesn't look nice. Not too sure what to do...
...
This is what achieved, help please:
in pageload
{
panelmain.Controls.Add(abc);
panelmain.Controls.Add(grid1);
string toexport;
toexport = RenderControl(panelmain);
ImageFormatConverter imgc = new ImageFormatConverter();
System.Drawing.Image convertedimage;
convertedimage = (System.Drawing.Image) imgc.Conver...
While displaying images in a silverlight application, I need to overlay a set of shapes likne lines exactly over the image. The line X1Y1 and X2 Y2 should be set by clicking mouse on image locations.
An image drawn like this:
and the canvas in the same grid cell for the shapes is like this:
<Canvas Name="LeftLines" Grid.Row="1" ...
I'm allowing user uploads, and I want to scale their images up if they're too small (low quality is a non-issue). I need to make the smallest side become 150px and have the other dimension scale up to keep the aspect ratio. I need to make it work for .jpg, .gif and .png files.
Any pointers would be greatly appreciated, I'm struggling to...
I'm looking through the provided library from the VS2010ImageLibrary.zip file and I'm wondering if they missed a few out?
For example, I can find:
AlignTableCellMiddleLeftJustHS
AlignTableCellMiddleCenterHS
AlignTableCellMiddleRightHS
but I can't find the images:
AlignTableCellTop...
AlignTableCellBottom...
Also I can find the f...
Hi,
I am trying to display live images from my 1394 camera.
Currently my code is able to obtain images in a loop from the camera and I was looking for any quick GUI that will update dynamically (as a separate thread). I can do this in PyQt maybe using QThreads but is there any recommendation or faster way of doing this??
Here's my code
...