I'm creating multiple custom info windows using only one xml layout, all of the info inside the window will be put In programmatically. I am now trying to give the ImageView an image but when I do that for one marker all of the other markers ImageView images become the same, any idea why? final Bitmap bmp = BitmapFactory.decodeByteArray(data, 0,data.length); if(postc.getAuthor().getObjectId().equals(ParseUser.getCurrentUser().getObjectId())){ Marker oldMarker = mapMarkers.get(postc.getObjectId()); final MarkerOptions MarkerT = new MarkerOptions().snippet(postc.getTContent()); MarkerT.title(postc.getAuthor().getUsername()); MarkerT.position(new LatLng(postc.getLat(), postc.getLong())); MarkerT.icon(BitmapDescriptorFactory.fromBitmap(bmp)); final Marker markeri = map.addMarker(MarkerT); map.setInfoWindowAdapter(new InfoWindowAdapter(){ @Override public View getInfoContents(final Marker marker) { View v = getLayoutInflater().inflate(R.layout.custommarker, null); final LinearLayout ll = (LinearLayout)v.findViewById(R.id.ll); …

Member Avatar
Member Avatar
+0 forum 1

I'm trying to make a program that saves images in a database. I've pulled together some info on the net and wrote up code that I think is supposed to work, but fails in a completely unique way on either side (the saving and the loading). Here's my code, could you tell me what I'm doing wrong? Load from Database, gives me a memory address access violation error: procedure TfrmMain.btnOpenProfileT4Click(Sender: TObject); var S : TMemoryStream; ikode : integer; begin S := TMemoryStream.Create; ikode := cbxDeelnemerT4.ItemIndex + 1; S := TMemoryStream.Create; ADOQuery1.Close; ADOQuery1.SQL.Text := 'SELECT * FROM DEELNEMERS WHERE Kode = …

Member Avatar
Member Avatar
+0 forum 3

Hi programmers, I am a c# programmer but I have a very big project in C++ (Which I am not familiar with) and I am facing a big problem. As part of the project, I need to convert the image (any image of any type bmp,jpeg,png...etc) to grayscale using openMP. After doing some research, I got the main method which allows me to do the conversion using openMP, it's as follows: // pDest is an unsigned char array of size width * height // pSrc is an unsigned char array of size width * height * 4 (32-bit) // To …

Member Avatar
Member Avatar
+0 forum 21

My daughter's 16 month old hp win 7 laptop with a Hitachi 500 gb drive wouldn't boot due to drive failure (boot sector). I replaced the drive and reinstalled all delivered software and successfully copied over her documents, excel, and mp3/mp4 music via a usb connected external hd drive bay. However, I seem to be able to copy over the 5000 or so jpeg's, but I can't open more than 3 or 4% of them, indications are that they are corrupted. I've tried file recovery software in standard and deep reading modes, just straight copying via windows explorer, same results. …

Member Avatar
Member Avatar
+0 forum 1

hi everyone there, yesterday we were trying to extract the text from jpeg file and wanted to add it to word,but we couldn't Is there any way out there to do that workout,is any software available there which can help me???/ please answer this..........

Member Avatar
Member Avatar
+0 forum 4

Hi I would like to make cgi-bin program which will make dynamic pictures. I know how to make cgi program which would output simple html file #include <iostream> using namespace std; int main(int argc, char* argv[]) { cout <<"Content-type: text/html\r\n\r\n" << endl; try { cout<<"<html><body><h1>Test</h1></body></html>"<<endl; } catch (exception e) { cout<<" Nemorem prikazati slike."<<endl; } return 0; } So how should I change this program that insted of html page I would output a jpeg image? First I have to change frst output to: "Content-type: Image/jpeg\r\n\r\n" After that ...

Member Avatar
Member Avatar
+0 forum 2

I need to load a BMP into C++ and code a program to convert it into a JPEG. I have very little programming experience and am wondering what libraries should be used to efficiently convert an image in this way. Is there a library that will convert the BMP straight to a JPEG? Or is it the case that the file will need to be loaded in and the data displayed in an array from which the calculations on that array will take place? Any help is greatly appreciated.

Member Avatar
Member Avatar
+0 forum 3

Hi, This might sound stupid, but "please" cope with me. I got an image in jpg format which I want to read in an array or something (not sure) I only want the bytes of the image, not the headers, size, thumb etc. Basically what I'm trying to do is: Read the image, change a few colors by changing the "bytes", & then save it. On wickypedia it says that jpeg format begins with a 0xFF byte, but I'm not able to find this in the images I read. All I get is numbers, symbols etc... Here's my code so …

Member Avatar
Member Avatar
+0 forum 2

What are the latest trends in steganography (hiding message in another medium e.g. digital images, videos, sound file) and steganalysis(detecting presence of message in a file) in jpeg images? Is there a way to perform steganography or is there an existing steganography algorithm where the message will not be destroyed even if filters(e.g. binarize,blur,grayscale,etc) or modifications are applied on the stego-image? Thank you and Happy New Year!

Member Avatar
+0 forum 0

hi. how can i save image file in mySQL from vb.net? [URL="http://i31.photobucket.com/albums/c395/altaircavida/help1.jpg"]my vb.net program picture[/URL] the image i want to save in mySQL database is already in the picture box [URL="http://i31.photobucket.com/albums/c395/altaircavida/help2.jpg"]mySQL table[/URL] and this is my SQL tables now how can i add the image in the picture box to mySQL [CODE]"Insert into brgyemployee (PICTURE) values ('"PictureBox1.Image"')"[/CODE] dont work :( note: brgyemployee is the name of my table where "PICTURE" column is located

Member Avatar
Member Avatar
+0 forum 1

So, I want to save an HBITMAP to different image file formats like BMP,PNG and JPEG. I believe that the most simple way to do it is by using GDI+. So here is what I came up with. [CODE]Gdiplus::Bitmap bmp(hbmpImage,(HPALETTE)0); CLSID pngClsid; GetEncoderClsid(L"image/png", &pngClsid); bmp.Save(L"D:\image.png",&pngClsid,NULL);[/CODE] The problem is that it doesn't work, and I get a bunch of errors "error LNK2019: unresolved external symbol". I got [URL="http://msdn.microsoft.com/en-us/library/ms533843%28VS.85%29.aspx"]GetEncoderClsid()[/URL] function from MSDN, but I don't believe that this is the problem. Probably it's something else something I'm missing or something I don't know. I tried to do it the old way but …

Member Avatar
Member Avatar
+0 forum 1

Is there a reliable method to extract the quantized DCT coefficients of a jpeg image? I can see that there is the jpeglib for manipulation of jpegs but I am wondering if someone has already used it and does the job I want to do. To extract the quantized DCT coefficients of each 8x8 block of a jpeg image. (As a matter of fact we are talking - I think - about decompression of a jpeg.) Any other solutions that may apply are fine too. Thanks. PS: I am trying to do a steganography project here...

Member Avatar
+0 forum 0

Hi everyone! Is there a way/command in C to find a string that is contained in a longer string? I'm currently developing a C program in Windows that sends requests to a machine and gets its response through socket programming. The response is an image in jpeg/jfif format. The whole response looks like the one below: Received data is: [CODE] HTTP/1.1 200 OK SERVER: Network Camera Date: Thu, 01 Jan 1970 00:01:14 GMT Content-Type: image/jpeg Content-disposition: filename="something.jpg" Connection: close [/CODE] I want to receive the image sent to me and it should be viewable. I tried to write the whole …

Member Avatar
Member Avatar
+0 forum 8

I have problem upload and use imshow function with files that has extension JPEG Are there is such problem in matlab, I want to play with function[COLOR="Red"] imwrite [/COLOR] and use property of JPEG extension that is a 'quality' for example what Imean : [ICODE]imwrite(f,'filename.jpg',;quality',25)[/ICODE] and it give me an error What's wrong on that?

Member Avatar
Member Avatar
+0 forum 1

Hi, I am trying to make a Picture viewer for my BS Computer Science 1st Year Project in [B]Turbo C Compiler[/B]. I have to stick with this compiler atm. I want to be able to display BMP,PNGs and JPEGs [TIFF and others too if it won't be very difficult]. I was able to display BMP images easily as I got all the information I wanted to display the image from [URL="http://www.fileformat.info/format/bmp/corion.htm"]http://www.fileformat.info/format/bmp/corion.htm[/URL]. I want similar type of information on JPEGS and PNGs too. I have searched the Net for hours on finding a similar structural definition of JPEGs but I wasn't …

Member Avatar
Member Avatar
+0 forum 3

I'm writing this in VB.NET, so I figured I'd post here. So, I'm writing a program to convert some pdfs to jpegs. This is all well and good, and the program seems to work well for the most part. Unfortunately, I've come across a bit of a problem. The pdfs that I'm working with have the occasional dingbat on them. Ghostscript wants to load a font for this, but it's not loaded. I've been trying to read up on a way to replace the font directly through a parameter, but I haven't found much. What I have found relates to …

Member Avatar
+0 forum 0

I am building a website with many images. I am looking for a code that will scroll my images. i am looking for it to show like 3 pics then have arrows on either side so when you clik them (arrows) it will scroll to the next 3 pics. i have only been doing Xhtml and CSS for about 2 years so i am pretty new at this.

Member Avatar
Member Avatar
+0 forum 3

so, basicly what i wan't to do is get all of the details from a JPEG picture. like when you right click -->properties-->details and you can set the title, rating, tags etc. i want to be able to read that data into variables or txt boxes or something. Thanks!!

Member Avatar
Member Avatar
+0 forum 1

I should write a program to combine the huge number of images side-by-side. The source images are jpeg and png formats images. I think no any direct way to combine png or jpeg images to gather, unless first convert them to bmp, or any raw format, and perform combination and finally convert the new image to jpeg or png format. Because of huge count of images (about 100000 images), I cant use standard available tools, that uses main memory. I should make all of operations on hard disk. Then I should write entire needing code. I need any information about …

Member Avatar
+0 forum 0

The End.