image

Will an image load if it has its CSS set so that visibility is hidden?

Will an image load if it has its CSS set so that visibility is hidden? ...

When is TGraphicControl.Paint called?

I'm trying to write a custom TGraphicControl descendant that will allow a user to embed a SDL rendering surface on a VCL form. This will provide a simple way to display SDL animations in a form. Apparently a TGraphicControl is redrawn with the Paint method. How often does this get called? Is it only when something happens to invalida...

How can I get summary information from images ?

How can I get the summary information for file images in Delphi? ...

Image map alt tags not visible when disabling images

Can anyone offer any pointers for making sure that the alt tags within an image map are visible when disabling images? I am using the FireFox Developer toolbar to Replace Images with Alt attributes. All images are replaced with the alt text that corresponds to them, but an image map does not. Thanks in advance for your suggestions. ...

Why are my images stored as MySQL longblobs only being displayed partially?

A client has just asked me to fix an issue with their webside. I did not build it but here is what's happening. The images are stored in the db as longblobs. Before moving to a new server, everything was working a ok. On the new server, some images only display partially. Even though the image is displayed at desired width and heigh...

What image libraries have been ported to the iPhone?

I am researching iPhone image libraries. I am looking for a lightweight image library that will compile on an iPhone. Have any libraries such as ImageMagick been ported? What image libraries would be best suited for the iPhone? The image library should be suited to do black & white, sepia tone, saturation filters, and more sophisticat...

How to bind to an Image using a dynamic URL in WPF?

I am new to WPF so hopefully I phrased the question correctly. What I'd like to do is bind my <Image> to an image online. However, the image I would like to bind to changes depending on the state of the application. For example, if I wanted to bind to an Employee selected from a list, I'd retrieve a base URL from my App.config and append...

Thumbnail creation of reasonable filesize for web application

My source images are 2288px x 1712px and 816kb. When I create a thumbnail of 1024 x 768 the file sizes are more than double the high res source (1.13mb - 1.8mb depending on method used). The source images and thumbnails created are .jpg Even creating a 299 x 224 thumbnail is 180kb where as if I manually create a thumbnail in GIMP it is...

pushing content to cell phones

I am working on a photo site and one of more active users (the jon skeet of the site ;) asked about pushing content to cell phones. The site is built on django, and I was wondering if anyone knows a good way of allowing users to download and store content (images) on their cell phones? As a side question... is it possible to accept paym...

Load a byte[] into an Image at Runtime

I have a byte[] that represents by Image. I am downloading this Image via a WebClient. When the WebClient has downloaded the picture I reference in via a URL, I get a byte[]. My question is, how do I load a byte[] into an Image element in WPF? Thank you. Note: This is complementary to the question I asked here: http://stackoverflow.com...

Load byte[] into a System.Windows.Controls.Image at Runtime

I have a byte[] that represents a .png file. I am downloading this .png via a WebClient. When the WebClient has downloaded the .png I reference via a URL, I get a byte[]. My question is, how do I load a byte[] into a System.Windows.Controls.Image element in WPF? Thank you. Note: This is complementary to the question I asked here: http:/...

How can I insert an image with iTextSharp in an existing PDF?

I have an existing PDF and I can use FdFWriter to input to text boxes. It works well. Now I have an image. I have read the documentation and looked at many examples but they all create new documents and insert an image. I want to take an existing PDF and insert an image into either an image field or as the icon image of a button. I ...

User images - database vs. filesystem storage

I’m writing an upload function in .NET for presentation images on user profiles. I’m choosing between two different ways of doing it, and would like to ask on advice and opinions as to the pros and cons. Store the images directly on the file system Store the images in the database So far I’ve been mostly pro the first option – naming...

asp.net secure images against static requests from other users?

I work on a site that generates dynamic images for each specific user. Sometimes these images contain depictions of very sensitive data. Lately we have started to see requests for images that belong to a different user in the form of http://myapp/images/someuid/image1.jpg obviously, someone figured out they could access another users i...

WPF: Sizing images inside grid and listbox

I have a ListBox with horizontal scrolling, and each item consists of a two row grid. The first row contains an image, and the second row a border used to render a reflection of the first. (Yeah, yeah. I know. Yet another coverflow attempt...) I need some help with the sizing of the images. If I don't specify any size, it will render th...

ImageMagick/Imagick convert PDF to JPG using native PHP API

I’m attempting to convert PDF files into PNGs. It works great from the command line (I do have GhostScript 8.64 installed). But from PHP I’m having a problem: code: $im = new Imagick($pdf_file); // this is where it throws the exception below output: Fatal error: Uncaught exception ‘ImagickException’ with message ‘Postscript delegate...

Reading a Bitmap from a TIF file - Works in WinForms not in ASP.NET

EDIT Solution Found: See my post below. We are writing a library that reads in a TIF file from a scanner. Basically, its a scantron. We are examining the form and reading values from it. Currently we have a windows test app, and we give it a filepath as a string ("c:\testing\image.tif"). It loads up the tif, reads the document correct...

Rendering an image at runtime in WPF

Hello, I have posted several questions related to this problem I am having and I am starting to believe this cannot be done. Here is the back story. I have an ASP.NET application from which I want to generate a .png image. This .png image needs to be constructed from either XAML or a WPF Visual Tree. Because of this, I must generate th...

How to add an image to the right of rows in TableView on iPhone?

I want to add an arrow to the right of each row in TableView on iPhone. Any ideas how to do this? ...

My images are blurry! Why isn't WPF's SnapsToDevicePixels working?

I'm using some Images in my WPF applcation. XAML: <Image Name="ImageOrderedList" Source="images/OrderedList.png" ToolTip="Ordered List" Margin="0,0,5,5" Width="20" Height="20" SnapsToDevicePixels="True" MouseUp="Image_MouseUp" MouseEnter="Image_MouseEnter" MouseLeave="Image...