image

android Image problem.

Actually I have 52 images which r basically cards. images names are from 1 to 52. when I put all the 52 images in my drawable folder then it is showing an error in R.java file which is: Syntax error on token "image name(any between between 1 to 52)", invalid VariableDeclaratorId what is the problem? ...

How to add a checkmark to a selected image in a GridView in Android?

I created a GridView which is populated using images from the SDCard. I want the same functionality as that of the selection in Android's Media Gallery. There, we can select images, upon which a green checkmark appears on the image. I created the Grid using this guide: Displaying Images from SD Card In Android - Part 2 How can I go abo...

How to keep/favor certain pixel values when resizing a tall BufferedImage?

I have a BufferedImage which is quite tall (something like 1100 pixels height) and not especially wide (maybe 200-300 pixels). The image consists of a data plot, but most of the pixels represents a background color/value that's not really interesting. My problem is that when the image is resized from a height of 1100 px to something like...

How to make text nowrap in a cell with image?

I'm using iTextSharp in C# to create a pdf with numbers of cells which are containing both image and texts. Document document = new Document(rect, marginLeft, marginRight, marginTop, marginBottom); Table aTable = new Table(tableColumns); foreach (TitleAndCode s in samples) { ...

Multidimensional indexing of images

Hi, I would like to know if there is a good way for indexing multidimensional objects (i.e. images). More precisely, I have a large collection of images on which I calculate n-dimensional feature vectors. There is a distance metric (i.e. L2-norm) defined over those feature vectors d(u,v). Given a key (an n-dimensional) k, the index shou...

pysqlite - how to save images.

Hello, I need to save an image file into sqlite database in python. I could not find a solution. How can I do it? Thanks in advance. ...

How do I retrieve and image datatype from SQLServer 2005 without programmatic access from some other language.

I have a SQL Server 2005 table with an image datatype as on of the table fields. I have a specific row I am interested. I'd like to write the binary data in the image field to a file on a network share. Let's call the share \server\sharename ...

.NET Tiff Issues C#

I'm having issues with TIFFs Here is what I have to do, we have tiff images saved into the database, these images are CCITT4 compressed with a number of required tags, these include: RowsPerStrip must be the ImageLength Photometric Interpreation must be MinIsWhite Multi-strip image format is not allowed My problem is, I'm using the ...

Embed twitter feed with images

When embedding a twitter feed - what's the best way (if any) to display the image referenced in a tweet directly - not as a link to e.g. Twitpic? The image should be displayed as img, like in a blog post. ...

Anyone know how to read a pixel translation (pixtiff compression)?

I'm trying to read a TIFF file that has an ANN file associated with it. The tiff does not open with standard viewers. When I open the binary ANN file, the only sense I can make of it is that it was created with software from Pixel Translations Inc., in a PIXTIFF format. Does anyone know how I can view this file manually or programmatica...

kohana 3 - image class and error "Cannot instantiate abstract class Image"

i made model which sends through controller to template neccessary data from database and doing picture resize for each picture path in the database. don't know why but there is some error (subj). here is code of this class method of model http://fpaste.org/ct2I/ ...

IE/ASP image problem

I've been sarching for a solution for this for a couple of days now... I've got this web site writen in asp/c#, and when I display images through asp code like: <img src="images/someImg.png" id="Img1" alt="" align="top" border="0" width="295" height="35" style="position:absolute;left:327px; top:545px; width:295px;height:35px;z-index:11"...

Android Images/Video file naming convention

I need to confirm an assumption, do all android phones store images & video with the same naming convention on the sdcard ? i.e. 2010-07-16 14.03.08.jpg or video-2010-07-17-13-18-41.3gp ...

Don't resize Images on a ItemRenderer

Hi! I think it is a question easy to answer, so I'll put it quick: Which parameter should I put not to automatically resize an Image that is put on an ItemRenderer? Ex (in which the image gets resized): <mx:AdvancedDataGridColumn headerText="estado" dataField="estado" width="30" editable="false" resizable="false"> <mx:itemRendere...

PHP : binary image data, checking the image type

Hello, I have some images in bin, I want to check the header to check the format (jpg,png,etc) I dont want to use temp files! I have a solution using TEMP FILES. Thanks! ...

java image compression and reduce bytes size

Hello coders I developed a mass file up loader (a swing application) recently.One of the new requirements is to support uploading thousands of documents (GIF,JPG,PNG,DOCX,XLSX), each of these are like 3MB-10MB of size and we don't want to upload these huge files, we generally support TIFF files which has small byte size like 60KB-100KB....

OpenCV Template Matching

I am preparing a sample by using OpenCV cvMatchTemplate(); function and I want to find all templates that's max. loc. upper than 0.40 with CV_TM_CCOEFF_NORMED method. I mean I want to find all templates which match. I find only the best match template but I want to find all of them. I hope I explained what I want. Thanks. ...

How to calculate the Horizontal FOV of the image?

Hi, I want to calculate the Horizontal FOV (HFOV) of the image using the EXIF information of the image. (Images are taken from different cameras.) http://www.worldserver.com/turk/quicktimevr/calculators.html#EXIF http://www.ehow.com/how_6640554_calculate-field-camera-lens.html http://en.wikipedia.org/wiki/Angle_of_view All these are...

Image lost transparent effect when stored in Table

Hi friends. I want store the image in SQL server table, and I successed but when I retrive that image on page, I found that the image has lost its transparency. The origional image is png/gif. I have resized that image in 100px / 100px. I have used following code to resixe the image. It works but when it stores image in database it los...

Find type of image in clipboard

I have an image copied to the clicpboard from the word using "Comment.Scope.CopyAsPicture()" How can i find the type of this image in the clipboard, so that i can write the image with proper extension in local file system? ...