Hi, I'm doing image modification on my iphone simulator using pixel value.
I created severals photo that I saved in the User Photo Album, and I want to get it back from the simulator to my imac. Where can I found the image?
I want to create 2 bits per pixel GIF files in VC environment from a TIFF file.
Is there any free library or maybe source that could help me?
Or how can I do it myself?
What would be the best format to numerically represent a color in .NET so that I wouldn't have to use the Color object? Right now I am saving the color as a the HTML representation, but in order to use it I have to parse it out.
I am dealing with a 800x600 canvas that stores a color value for each pixel and I need to be able to render the color out as quick as possible without bloating my application out to storing 500k+ color objects.
Hi all,
I am passing some weakrefs from Python into C++ class, but C++ destructors are actively trying to access the ref when the real object is already dead, obviously it crashes...
Is there any Python C/API approach to find out if Python reference is still alive or any other known workaround for this ?
Thanks
What Mac OS X (leopard) application can I use to create favicon.ico -like ico files?
Note: This is not to create widget icons or the like, but the (e.g. 16x16 pixel) files that appear on a web browser's tab and alongside a bookmark...
Hi,
I have used Bitmap class to convert tiff to Gif but it couldn't make the image 2 bit possible for have less size.
Notice that bitmap class could create images with this pixel format :
1, 4, 8, 16, 32, 64 (bits)
But my need is 2 bit.
Could someone help me ?
Hi there,
is there a way to reduce the space between two sections of a UITableView? There are about 15 pixel between every single section I have. I did already try to return 0 for -tableView:heightForFooterInSection: and -tableView:heightForHeaderInSection: but that doesn't change anything.
Any suggestions? Thanks in advance.
–f
I'd like to communicate with a USB device under Windows and Java but I can't find a good library to do so. I don't want the user to have to install any extra hardware or device drivers to make this work. That is, I want to be able to interact with USB just like other Windows applications do.
I am familiar with jUSB and JSR 80 but both seem to be dead projects (at least for Windows).
I have the following script
<?php
echo "I am alive<br>";
die("I am dying<br>");
echo ("Dead");
?>
The output that I get is
I am alive
I am dying
Is there any way (alternative/substitute of die()) using which the execution of the remaining script be continued?
img_hsv is a Mat element of an hsv image!
when i give cout<<*img_hsv.data+10; it gives true value of the pixel ie 79 as output.
but when i assign uchar * a=img_hsv.data+10; it gives me some other value...
can you please explain me why is this the case? thanks!
Hi
I create a bitmap from bytes coming from the web, and I downsample it, the resulted Jpg is still too big although I use small pixel format, someone know how to manipulate compression of the image, because I had impression that the saved image is not compressed anymore.
Thanks
I want to read a rectangular area, or just one pixel from my screen. As if screenshot button was pressed, but it wouldnt copy the whole screen necessary. So im not talking just about my own program window pixels.
How i do this?
I need a way to store an int for N columns. Basically what I have is this:
Armies:
ArmyID - UINT
UnitCount1 - UINT
UnitCount2 - UINT
UnitCount3 - UINT
UnitCount4 - UINT
...
I can't possible add a column for each and every unit, so I need a fast way to store the number of each units in an army (you might have guesses it's for a game by now). Using XML is not an option as it will be dead slow.
GdipBitmapLockBits works on pBitmaps, requires locking ?
CreatDIBSection gives you a DIBsection, doesn't require locking ?
which method is better for working with raw pixel data ?
Here are two implementations for finding the difference between two images using each method.
I have a dead simple progress "bar" using something like the following:
import sys
from time import sleep
current = 0
limit = 50
while current <= limit:
sys.stdout.write('\rSynced %s/%s orders' % (current, limit))
current_order += 1
sleep(1)
Works fine, except over ssh with Putty. Putty only updates every 3 minutes or if a line ends with \n. Is this a Putty setting, sshd_config, or can I code around it?
I want to see my pixel coordinates on moviing my mouse on the image in picture box
I have added this event Form.designer.cs
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown);
and this method in Form.cs
private void pictureBox1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
locationtxt.Text = e.X.ToString() + "," + e.Y.ToString();
}
but I cann't see anything in textbox on moving my mouse on form runtime.
What should i add further.
regards,
I want to implement a layering system in my application and was thinking of creating a bunch of transparent bitmaps, adding content to them then blitting them on top of each other, how can this be done without setting each pixel to (0,0,0,0). I'm using Pure win32, not MFC, thanks.
Hi,
If I have multiple class and I want to have them all come under the same namespace and in my project I just want to have one include and that will give me all of the classes how would I go about doing this? I have played around with this but keep hitting a dead end.
Thanks in advance.
I want to implement a layering system in my application and was thinking of creating a bunch of trabsparent bitmaps, adding content to them then blitting them on top of each other, how can this be done without setting each pixel to (0,0,0,0). I'm using Pure win32, not MFC, thanks.
Hello everyone,
I am using SQL Server 2008 Enterprise. I met with issue which says line 9 of stored procedure foo is meeting with dead lock issue. My question is how to find exactly the 9th line of the stored procedure?
My confusion is because of coding format issue, how to locate 9th line correctly.
thanks in advance,
George
I have "Selected Text" color set to a default value in vs 2010 RGB 51,153,253. But really in text editor it is RGB 173,214,255 that is slightly darker. The same things are with some other colors, e.g. Resharper Dead Code.
What can it be a problem and how should I solve it?
Hello,
in my class I have an attribute IBOutlet UIImageView *imageView; And if I want to draw an image in this view I do : imageView.image = [UIImage imageNamed:@"foo.png"];
But how can I do to draw some points with coordinate x, y (in pixel) directly in the view ?
Thanks !
All the examples I've see for using the Gallery view in Android set a specific pixel size for the images using:
i.setLayoutParams(new Gallery.LayoutParams(200, 200));
Can someone give me an example of how to size a gallery image using XML so that I can use dp units?
Thanks!