picture

How do I set a picture as the background in ASP.NET?

I am unable to get the background picture to show in my pages. I am trying to do this in the master page using CSS. I have a CSS which contains the following: body { background-image: url(../images/background.jpg) no-repeat; background-attachment: fixed; margin-top: 0px; } I know the CSS is being read because all other styl...

How do I load a picture (image) into smalltalk.

How do you load a picture into smalltalk? I have found several examples of how to display an image once it is a class resource, but can't find a way to import the picture into my smalltalk environment. (I use the word picture to avoid confusion with the smalltalk image) ...

Drawing a picture in android

I want to draw a picture (bmp,jpg,png) into the canvas (using the onDraw() method) of a class that extends the View class. I would like to be able to draw parts of the picture, not the whole at once. I would really appreciate an example. ...

Basic drawing tools for .NET application

I need a control that allows loading a picture, performing some basic drawing tasks with it (including adding text, pencil, oval, horizontal and diagonal lines), and exporting it as bitmap. Anything like that available? Thanks ...

Record Video/Take Picture switch in iPhone app?

So i got a iphone app that is a button and when you pressed it i want the camera view to pop up and i want to give the user a choice to take a picture or a video like in the default camera app the one switch thing. Thanks! ...

how to display a picture when receiving a call on iphone

AS the title ,i wanna to display a picture which is in the local folder as the background of the screen when receiving a call on iphone. how can i get it.I need help. ...

What AJAX picture browser and deleter plugin should I use?

The plugin should allow browse and delete picture in one file folder. Thanks. ...

Picture.writeToStream() not writing out all bitmaps

I'm using webview.capturePicture() to create a Picture object that contains all the drawing objects for a webpage. I can successfully render this Picture object to a bitmap using the canvas.drawPicture(picture, dst) api with no problems. However when I use picture.writeToStream(fos) to serialize the picture object out to file, and then...

How to reduce the size (in MB) of pictures inserted in a PDF?

Hello, I'm writing a Master thesis when I need to include several photographs, but I've got a problem with the size of the generated PDF: 18MB, which is more or less the cumulated size of all the picture included. How can I tell Latex not to keep the original picture and reduce it, but to shrink the picture before including it in the P...

android - show pictures in webView that are'nt in filesystem

Hello, how can I show pictures in WebView without saving images into file system? I have tried to implement my custom ContentProvider, but method openFile returns ParcelFileDescriptor that points into filesystem (or socket). My pictures are in filesystem, but in encrypted form. I have tried also URL.setURLStreamHandlerFactory, but in a...

Can you set a DDB on Static Picture Control

I have the picture control created with SS_BITMAP style and bitmap created on a memory DC. so can or how can you set the HBITMAP of a DDB for the control? It doesn't work with using: Edit: HDC hDC = GetDC(hPB); //hPB, Handle to static control. HDC hMemDC = ::CreateCompatibleDC(hDC); HBITMAP hDDB = ::CreateCompatibleBitmap(h...

Retrieve picture from an url

Hello, On my ASP.Net page in C#, the user is able to enter an url (web page). When it's done, I would want to get the picture in this page. For an example of this, go on Facebook and write a status with an url in it. A panel open with the description of the page AND the picture. Is there a parser or a little application that I can use ...

wmd-editor.com textarea editor, picture upload like the one used in stackoverflow.com

How to change this... into this? ...

How can I access a picture from the users Blackberry so he can select it as attachment?

I'd like my user to be able to click a paperclip on my application and be taken to the select picture screen, similar to the iPhone, then that picture is added as an attachment for him to send to his company. How can I do this? It seems the Blackberry official website is a huge labyrinth and I can't find what I'm looking for. Thanks ag...

Get contacts photo which are synced with facebook for android

Hello stack people, I am trying to show contact pictures in my application but I am getting pictures of those who were added manually only and not those which are synced with facebook. How to work around this? Here is my code below: Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, Long.parseLong(P...

iPhone Camera pictures from UIImagePickerController are sideways

Hi, My application supports taking pictures from iPhone in portrait mode and upload to the server. However, the pictures taken are appearing in sideways once uploaded to the server. Please help! -KC ...

How can I have a user select a picture from his picture library?

My phone is going to be sending information to home base, and I want the end user to be able to select a picture that he has on his phone and select it as an attachment. How can I achieve this? ...

print msflexgrid with picture in cell in vb6

Hello guys, how do i print msflexgrid with picture in some of its cells in vb6 ...

using android intent to call and receive a result from camera app no matter if it is custom built

hi. here is the problem: i have searched for an answer for this and so far i made it work for the custom camera app that comes with htc phones. i have the folowing protected void onActivityResult(int requestCode, int resultCode, Intent data){ if (requestCode == REQUEST_FROM_CAMERA && resultCode == RESULT_OK) { ...

Too much recursion with jQuery.load and pictures

Hello, I have a weird, random problem. Here's a sample of my problematic code. It's purpose is to create a jQuery jCarousel control over a list of ul/li elements. But I need the elements inside to be vertically centered, so I'm calculating a padding-top for each of them once the picture they contain is loaded. <script type="text/javasc...