image

How to place images on top of each other in java

Hi, I have a background image of a road, which I have displayed on a JFrame using an ImageIcon. I want to put a car on top of that background image at a certain (x,y) location. I tried using another ImageIcon and the background does not appear when I run the program , however the car does. import javax.swing.ImageIcon; import javax.s...

how to print documents as jpg

Hi, My application has to take multiple documents such as .doc, .docx, .pdf, .ppt, .pptx and convert them as jpeg(any other format is also fine) images. if there are multiple pages, each page should become one jpeg. I tried with some virtual printers but did not work out well. My app is in C# 2.0 Anyone has a better solution?? ...

How to get base64 encoded contents for an ImageReader?

Hi. How do I read an image into a base64 encoded string by its ImageReader? Here's example source code using HtmlUnit. I want to get the base64 String of img: WebClient wc = new WebClient(); wc.setThrowExceptionOnFailingStatusCode(false); wc.setThrowExceptionOnScriptError(false); HtmlPage p = wc.getPage("http://flickr.com"); ...

css background images blink after reload page

I have blocks on page with background images, when I refer (click link) to the same page-images blink. How can I set chache or something else to extract this problem? I tell about web http://pohladovybeton.sk/, especially in IE 8 after redirect (in page menus) is browser blink, and in Opera is blink content background, in FF is all OK a...

Is it possible to display image with loadDataWithBaseURL() method in android?

I'm trying to display the content of a html file with the loadDataWithBaseURL() method in android. I just have a String that contains the Html file data in one String called source and I then pass this to the method. for e.g String source; //contain html tags with images View.loadDataWithBaseURl(null,source,"text/html","UTF-8","about...

Crystal Reports dynamic image using URL formula

We want to show an image in a Crystal Report 2008 report, and the URL of the image depends on a field in our database, eg: "https://images.somewhere.com/" & {Data.Field} & ".jpg" This is supposedly possible using a 'picture location' formula on the Picture object (as described here and suggested here), but we can't get it to work - it ...

What's the problem with my php generated png file?

Hi! I want to make a unique forum signature from my latest watched animes in PHP. These are contained in an RSS feed. On my local apache server, the image is generated well, but as I upload it onto a server, I get an error, the picture isn't generated at all. Here is my code and I wonder what's the problem since neither Dreamweaver CS5...

How to deal with Dynamic images on website

Hi I have a website that has the functionality of dynamically loading the images. My website is getting slowed down if there are too many images (jpeg files). How can I deal with such images ? The website is built in Drupal. -VJ ...

fast finding of small image in a bigger image

Hello everyone, I need to get the coordinates of a small image location residing in a big image (let say I need to search for a specific tree inside a forest photograph. If the sub-image is found then the result would be something like: x=120 y=354 by example). Is there a fast algorithm that I could use ? I'm using Delphi (can also us...

how to create a IB action for a image view

i have a image ,i want to launch url when i press that logo or image ,how to implement ib action for that image view ... can any one give suggestion i selected image view in ib to place my logo is it right? ...

uiscrollview or uipagecontrol to display image from web (xml data) asynchronously

uiscrollview or uipagecontrol to display image from web (xml data) asynchronously Hi...all experts. I'm new to iphone development. Now, I'm planning to develop like "Photo" in iphone Default apps. Every image is pulled out from web service(xml). However, parsing xml is extremly slow. Well, I've got found apple's office document, wh...

Loading remote images

What is the simplest approach to the following in Android: Load an image from a remote server. Display it in an ImageView. In other words, if you had to explain to someone how easy it is to work with remote images in Android how would you do it? ...

How to set background image to display before the content of img tag?

I've a div and inside the i place a image using img tag and in the stylesheet, i used a background-image for that div and aligning it center with z-index value 1 .. And i use another style for img inside that div with the z-index value -100 So i expect the background image to come front of the image.. I think i'm doing something wro...

Load Image from Jar: Always null

Looked at other posts on SO and they did not solve this issue. I'm trying to load an image from my jar file. It is continuously coming up as null. The image is located under: .Jar file > images > BLOCK.png To load the image I am doing: BufferedImage bImg; URL url = getClass().getResource("/images/BLOCK.png"); try { bImg = ImageI...

Read an image to a byte array using php

Using php I need to read an image to a byte stream which has to be passed to a .NET web service. Can anyone provide me with a php code snippet to read an image to a byte array ? I am using using php 5. thanks ...

Appending an image to a link based on its content

I have a system that generated links to different parts of the application. I need to append an image next to the link based on its context. In CSS I would do it like this: a { color:#FF6600; padding-right:50px; background-image: url('images/system.png'); background-position: right; background-repeat: no-repeat; } The proble...

Array contents not being passed fully from php client to a .NET web service

I want to pass an image as a byte array from php to a .NET web serice. The php client is as follows: <?php class Image{ public $ImgIn = array(); } $file = file_get_contents('chathura.jpg'); $ImgIn = str_split($file); foreach ($ImgIn as $key=>$val) { $ImgIn[$key] = ord($val); } $client = new SoapClient('http://localhost:64226/Service...

How to merge (join) two wx.bitmap using wxpython?

Hello, I have one wx.emptybitmap (1) and one wx.bitmap (2). I want to merge(join) them.. I want to create a single wx.bitmap that consists on the wx.emptybitmap (1) on the top and wx.bitmap (2) on the bottom. How can I do that? Thanks in advance! :D ...

How to get coordinates from a image for CGRectMake

Is there a program, that you can drag a box around a specific area of an image, and it will give you the coordinates you need to input into CGRectMake? //The numbers in here CCSprite *sprite = [CCSprite spriteWithSpriteSheet:spriteSheet rect:CGRectMake(608,6,44,45)]; The way i do it know, is by guessing, and recompiling every time til...

objective-c : iphone programming upload image on facebook

hi , my application can upload a short text on a facebook account but now i want to upload an image is this possible and where can i get the sample code? thx ...