image

storing images in iphone application

hi. im making an application that store multipe information like name description images for each entity. ( large number of entity). I have an issue in storing images in for this application. whats the best way to store them. database or document directory. and also im affraid that the images will increase the size of my application. wai...

Dragging an image from a scrollview

This is driving me bonkers, have been on it ages and still can get the thing to do what I want! My view is set out like this: RootViewController contains (UIView)flipView FlipView contains (UiView)firstView FirstView contains a scrollview and a load of imageviews Scrollview contains a series of custom imageViews I can drag the cust...

Default Display doesn't update

Hi! I'm stuck with a simple program. I want to grab images from an external server every x seconds and display it on my android. My problem is that the display doesn't update. When I put everything in one class it works perfectly. The code beneath compiles and runs without any error but there must be something I missed because the scree...

How can I determine if I will draw offscreen when doing custom bitmap blitting in a view inside a scrollview in Android

I have subclassed View and do some bitmap drawing inside of the onDraw method. This view is then placed in a horizontal scrollview. Some of the time the bitmaps will not be visible since they are scrolled off screen. To improve performance I would like to avoid drawing anything when the object will not be visible. So the question is, ho...

Image resize PHP

I'm still a newbie regarding image handling or file handling for that matter in PHP. Would appreciate any input regarding the following I post an image file using a simple html form and upload it via php. When i try and alter my code to accomodate larger files (i.e. resize) I get an error. Have been searching online but cant find anyth...

Extra padding on linked images (in every broswer)

Hello, I'm having a problem with getting extra padding on link element with an image inside. It happens in all browsers, Safari, Firefox, IE. I have a reset stylesheet applied so there shouldn't be any extra margins on padding but upon inspection it's clear that the a element has some extra bottom padding from nowhere. Any ideas? Her...

How to get images from gallery and display them to the screen in android sdk

I would like to know how to get a pre-saved image from the gallery and then display it onto the screen. Any tutorials/helpful links and info would be appreciated. If there is anything you would like me to explain more, please ask. ...

Does Google have any official Image API for Python?

I want to search for images using a Python script and pull them off the web. Is there an official API for this? What would be the best way to do this in case there's no API for it? ...

Get Facebook real profile image URL

Hello According to Facebook graph API we can request a user profile picture with this (example): https://graph.facebook.com/1489686594/picture We don't need any Token since it's a public information. But the real image URL of the previous link is: http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs356.snc4/41721_1489686594_527_q.jpg If ...

Convert PDF to images in php

Hello everybody, These are the steps I am trying to achieve: 1) Upload a PDF document on the server. 2) Convert the PDF document to a set of images, and saving them. Any ideas for doing #2 using php?? ...

Best Practice when Caching files in Android

Hello all, I currently have my app caching image files in the cache sub-directory for the application. The images are used in a ListView and stored in a HashMap of SoftReferences to Bitmaps. So my question is this, what is the best way to cache these image files without inflating the space my application uses AND remains responsive fro...

Play list image as "like" play video?

Hi, I build webcam remote application, user install my-cam-application and set webcam and ftp account to my-remote-cam-site, Video of preview convert to image and upload to the web using ftp. Now, i want to play again image like video, how is it? Thank you ...

How to delete transparent color in images?

What is the best way to replace transparent colors with white in gif and png images with php? // get transparent color indexes $trsp = ImageColorsForIndex($image, ImageColorTransparent($image)); // get transparent color set $delete = imagecolorallocate($image, $trsp['red'], $trsp['green'], $trsp['blue']); // replace imagecolorset($imag...

[VB.Net] Trim images (Crop to remove all blank areas)

Hello world! To reduce the size of some images I have, I'd like to remove the white paddings that some have. The idea would be that if one has large white areas on the borders, then those can be cropped to save some space. Any idea? Thank you, CFP. ...

build an image viewer with card layout?

i got the program to run with labels but i cant get it to use images. im a beginner and this is all i can come up with so far. it runs but i dont understand implementing images into this code. import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CardLayoutExample extends JFrame implements KeyListener { priv...

Android - Image button size help?

My imagebutton code wont respond to "fill_parent" and "wrap_content". Instead, it just shows the middle of the image (because it is a pretty big image). I tried setting specific values for the image but it still didn't work! Can somebody help me? My button.xml in the res/drawable folder: <?xml version="1.0" encoding="utf-8"?> <selector...

iPhone: Reading many images quickly

I've got an app I'm working on where we handle a LOT of images at once in a scrollview. (Here's how it looks, each blue block being in image on a scrollview expanding to the right: http://i.imgur.com/o7lFx.png) So to be able to handle the large strain doing this puts on memory. So I've implemented a bunch of techniques such as reusing im...

Perspective transformation with GD

How could you distort an image with PHP GD from this... To this... using only the PHP GD library. I don't want to use a function someone else made I want to UNDERSTAND what's going on ...

Java JFrame: Image not displayed

Hi everyone, Im trying to build a small frame that displays an image. My problem is that in the paint(Graphics g) method, the g.drawImage is executed, but nothing is shown on my RLFrame. Any thoughts / tips? Thanks in advance. Here's the code public class RLFrame extends JFrame{ Image img; public RLFrame(String title){ super(...

Image not showing IE(all the versions)

i tried all the versions of ie but it is not showing only 1 image. <asp:Image ID="img" runat="server" ImageUrl="~/images/FlorDecor.jpg" BorderColor="AliceBlue" BorderStyle="None" Height="126px" Width="90px" /> i tried placing this image outside the folder and giving url = "FlorDecor.jpg" url = "../FlorDecor.jpg" url="~/FlorDecor.j...