image

Can you overlay transparent images in Blackberry Apps?

I have a very simple application that has one screen and one button. The main screen has a verticalFieldManager with a BitmapField inside it, and one button beneath the bitmap. I want to be able to overlay another image on top of this when the user clicks a button. The overlay image is a PNG with transparent background, and this is impor...

iPhone App takes up too much memory

Ok, so here's my problem. My iPhone app is 1.2MB on disk. Granted I have a bunch of Images for the GUI buttons and backgrounds, etc. In-memory, my app takes up a whopping 15MB! That means if I then take a picture with the camera, 8MB default, it gives a memory warning (several) even before the picker calls its delegate! How can I te...

ImageIcon loads no image

I'm trying to get image built from tiled set of images So to JPanel I'm adding JButtons with ImageIcons. All images are in folder with my classes (NetBeans), and they're named u1, u2, ..., u16. But on button there is no image shown. What am I doing wrong ? JPanel panel = new JPanel(new GridLayout(4, 4, 3, 3)); for (int i = 1; i <...

Can't seem to be able to set ListViewItem.imageIndex

I have been scratching my head with this error for at least an hour, what the heck is wrong here? In a loop: if (selectedItems[x].ImageIndex == 3) { List<ListViewItem> dupes = CP.listCache.FindAll(delegate(ListViewItem item) { return item.Text == selectedItems[x].Text; }); ...

Bind xaml vector images dynamically

I'm looking for a way to bind xaml images dynamically in code. There are lots of examples online to show how to bind png or xaml images in the window's xaml, or to load png files in code. But I have found no examples for xaml files with build action=page. XmlReader can't handle them since they are compiled to baml. LoadComponent(new ...

error while converting the byte arry to image ,after modifying the byte array and the byte array is taken from the image itself in c#

Hi, this is my code. Here i hv formed the byte array of img, i am trying to add some vlue to this byte array say 10 and i'll take care that the value is not exceeding 255. later if i try to redraw the image via the following code i am getting error at this line... what can be the problem.. without modification if i try to draw the image...

Simple HTML problem with href

I am trying to create images hyperlinked to some URL's and hyperlinks donot seem to work. I am using the code as given below at http://windchimes.co.in/index_w%20-%20Copy.html Can you tell me why the hyperlinks to the icons are not workking? <td width="29" style="padding-bottom: 42px;><a href="http://windchimes.co.in/blog" target="_bl...

not Display text

<?php header ("Content-type: image/pjpeg"); $string = "manujagadeesh!!!"; $font =8; $width = ImageFontWidth($font)* strlen($string) ; $height = ImageFontHeight($font) ; $im = ImageCreateFromjpeg("sachin.jpg"); $x=100; $y=200; $background_color = imagecolorallocate ($im, 255, 255, 255); //w...

How to show images in div that stored in db

I decided to store uploaded to servlet pictures in DB. But how to show them in browser (in particular div with css image-background style) without page reload? In details: I have an full-AJAX web client that works with java servlet. Thanks. ...

How to copy image of a chart from Silverlight application to clipboard?

I have a Silverlight 3.0 applications with some custom graphics and some charts. I need to find the best way to transfer these graphics to a PowerPoint presentation. I've read that Silverlight 4.0 offers a Clipboard API, but there is only support for Unicode-text, not images. Is there a way to achieve this task without forcing users t...

RESTEasy - access to web folder for geting image

I would like to allow users to access images saved in web folder. For example - I have an image in web root folder "blank.png". But the link http://localhost:8080/myapp/blank.png returns 404 (not found). Adding type to resteasy.media.type.mappings does not work. I am a bit of a newbie in RESTEasy... ...

displaying images in asp page

i am trying to display an image by using the < img > tag using the following code: <img id="img" src="C:\images.jpg" /> but there is no image displayed.i am sure that the image exist and i have already tried putting \\ instead of one \ , but it is still not working. any help? ...

[Drupal] Image thumbnails as links

Hey all, im building a webshop in Drupal and i was wondering if you could help me with the following problem: I got one big image frame (500x500) and 5 little image thumbnails(95x95) underneath the big one. How can i realise that if the visitor clicks on the thumbnail, the big image frame gets filled with that specific image? ...

image upload to orginal image

Possible Duplicate: manu help me in the effect http://www.zazzle.com/cr/design/pt-mug is demo site click the add image, add the images click ok butt. The image is add to mug image In that php code i want it please help me ...

draw geotiff in a JFrame

Hi: However I found that some geotiff image can be displayed in a JFrame,however others can not. The core codes: PlanarImage resultImage = null; InputStream is = null; try { is = new FileInputStream(new File("D:/wu.tif")); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } ...

Can I distort a bitmap image in Flash?

Hi, what I would like to do is to take a loaded GIF file as a Bitmap, and then distort it by stretching and shrinking parts of it, so it would look like it got squished up against the screen. I'm pretty sure that there's no easy way in Flash to go beyond scaling and shearing, but I wonder if there might be some simple techniques to acc...

Android : Downloading and Displaying images simulataneously?

Hi, I'm having a situation in my current project where I want to Download a wallpaper image from network. I want to download the image in chunks and at the same time display whatever image that has been downloaded in a ImageView. Can someone let me know how to implement this? The type of Image that I would be downloading would be "PNG". ...

Drupal - Use lightbox with Views (Rel attribute) - in output link

In Drupal I have two image fields, one to act as a thumbnail and the other the image that will open when the thumbnail is clicked. The only way I could find to link the two was to use the option for "Output this field as a link" and link to the image field. This works, so when I click the thumbnail it opens the larger image however I wo...

Android: grab a piece of an ImageView

I have an ImageView from which I want to copy a piece of it in the shape of a circle that I can then re-display to the user at a larger than original size to simulate a zoom effect. Would I use bitmaps for that? Thanks. ...

Can I embed a .png image into an html page?

So I have a .png file. I am using windows OS. How can I embed my png file/image into (blank by default) file.html so that when you open that file in any browser you see that image, but the file is not anyhow linked to it - it is ebbeded into it? Step by step instructions would be nice. ...