I have some .png files in my app. I need to load these during runtime, and get the exact colors of certain pixels from them. It's important, that I do not want to scale these pictures. I don't show them on the UI directly, they serve as maps.
Now, on Android 1.5, there's no problem with this. I put these images in the '/res/drawable' di...
I am trying to resize an image using only CSS, the problem is I don't know it's dimensions.
What I have tried so far is putting the into a and then making the image have 105% width. The idea was that the containing div would have no size other than it's contents, but this is only make the image the size of the next ancestor that does ...
I have a button.
The button is constructed from the StateListDrawable (made of 3 9-patch images).
I need to add an extra drawable that will reside on the button's right side, and i need it to be aligned with the button's right side.
I tried to use the following:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://sc...
Hi Everyone,
I have a user that wants to be able to upload photo's to his website, and then be able to choose which album he wants them to appear in. I already have the albums hard coded on the site, but he wants the ability to add more.
Does anyone know of a script or cms or something that this can easily and cheaply be implemented o...
I'm trying to use a zoom plugin for interactive maps
I put everything into the site and as far as I can tell the scripts are all working. There are no console errors so I'm guessing the problem is that the image paths are not correct because nothing except the containing div is showing up. Looking at it through firebug all I can see is ...
hi ....i just want to know that is it possible that can we detect lip movement in a video using java....the exact thing is that i m looking to do a project in which we can zoom in at a position using a camera where there is some lip movement (or voice) in a frame of video...pleae tell me is it possible.....advice expected please reply a...
I'm creating a small image upload validator for this printing company, they need to make sure that an uploaded image has a color space of either CMYK or PMS.
This is what I'm using right now:
Image img = Image.FromStream(fupFile.PostedFile.InputStream);
ImageFlags flags = (ImageFlags)Enum.Parse(typeof(ImageFlags), img.Flags.ToString())...
I'm currently building a simple app that overlaps one image on top of another. The top one needs to be draggable and resizable. Initially I thought jQuery UI would be a good idea, there are two main issues with it:
For some reason, Chrome doesn't like both behaviors even when they're imposed to different elements.
I need 8 handles, jus...
I have write a little class to perform the download of the images by using an NSURLConnection.
The idea it's to delegate the download to this class to avoid to block the execution.
So I pass the target UIImageView (by ref) and the url to the function and start the download:
-(void)getImage:(UIImageView**)image formUrl:(NSString*)urlSt...
Using the Microsoft.Samples.ReportingServices.ReportViewer, I am showing multiple instances of the same SRS report on the same aspx page using IFrames (which is what the ReportViewer renders as.) Each instance has different parameters passed to it, so the output looks different on each instance of the report.
My issue is that in Interne...
On my set I use jquery to fadeout an image, change its source to something else, then fade back in. However, sometimes on slow connections, the image will fade back in before the source completely changes, so the old image will still appear for a brief second before the new one comes in.
Is there a way to have a callback on attr so fadi...
I'm working on a project for the iPad where I'm trying to simulate the rotation of a 3D-body with touch by switching pre-rendered images.
I'm not the sharpest man when it comes to memory management so I wonder if anyone has any tips on how to optimize this.
My solution now looks something like this:
- (void)touchesMoved:(NSSet *)touch...
I'm having an odd issue with whitespace in a design I'm building.
I created a <div> to contain voting elements - it holds an upvote button, downvote button, and vote total, each inside their own <div> element, and using <img> for the buttons.
Source:
<div class="votebox">
<div class="vote"><img src="upvote.png" /></div>
<div class...
I have a Color[][] Array which holds the information of an image. Array[0][0] is the lowest leftmost pixel. I can draw the picture on the screen. I also want to save it as file (png/jpg). But how?
...
Hi guys,
I have an image which is representative of an Array2D:
template<class T = uint8_t>
Array2D<T> mPixData[4]; ///< 3 component channels + alpha channel.
The comment is in the library. I have no clues about the explanation.
Could anybody please help me to?
Explain what are the 3 component channels + alpha channel are about?
...
I have two themes in my .Net application, both use the same background image. Both have an images folder with this image in them, both have style sheets. One works and one doesn't but ONLY when deployed in IIS in a Virtual Directory scenario so there is an added /MyApp/ directory.
I can't seem to even trick the one that doesn't work in...
I have this code:
if (document.images)
{
preload_image = new Image(25,25);
preload_image.src="http://mydomain.com/image.gif";
}
First of all, will this work in all major browsers?
Secondly, do I need to specify the width and height like in the code?
Lastly, will this preload my images and cache them?
Thanks
...
I have about 60 images I want to store in Core Data, 30 of which are avatars and have the prefix of avt_filename_00X.png and 30 of them are smaller and have a different prefix.
Rather than storing all the images as BLOBs in Core Data/SQLite, I want to store the paths for each image found (in the same way you would store image paths for ...
Hi,
I have:
public class Person
{
String name { get; set; }
String address { get; set; }
bool isMarried { get; set; }
}
My datagrid gets populated with a list of persons.
I want to have a custom column where icon-1.jpg is displayed when isMarried is true and icon-2.jpg is displayed when isMarried is false. How do I do this in WPF...
Right now I'm base 64 encoding them and using data uris. The idea was that this will somehow lower the number of requests the browser needs to make. Does this bucket hold any water?
What is the best way of serving images in general? DB, from FS, S3?
I am most interested in python and java based answers, but all are welcome!
...