I have a multi-layered PSD, with one specific layer being non-rasterized text. I'm trying to figure out a way I can, from a bash/perl/python/whatever-else program:
load the PSD
edit the text in said layer
flatten all layers in the image
save as a web-friendly format like PNG or JPG
I immediately thought of ImageMagick, but I don't t...
I want to make a preview page in php, where I can drag n drop images among different divs and save the positions of the images in mysql.
...
What is the correct usage of the CSS background-image property?
The key things I am trying to understand is
Does it need to be in quotes i.e.: background-image: url('images/slides/background.jpg');
Can it be a relative path (as above) or must it be a full URL?
Any other points I should be aware of to make sure it works correctly across...
Hi all :)
I have a simple Image component,
I change its source dynamically on creation.
myimg.source = "http://foo/bar.jpg"
How can i know when the image is loaded and received so that i can check its width ?
Thanks
...
Hello,
I need a little help here if possible, because I can,t find the source attr of an image with the selector
I have already used $(this).children('someclass')just before
and the one I am trying to locate is in the same tablecell next too the other div
So, it makes no sense to me
$(".reg_info_body").hide();
$(".reg_info").toggle(f...
Simply, is it possible to somehow capture the dimensions (specifically, width and height) of an image using either the iPhone SDK or an iPhone SDK-compatible library/framework? Perhaps pull the dimensions from the EXIF metadata?
...
I'm writing a C++ library for an image format that is based on PNG. One stopping point for me is that I'm unsure as to how I ought to lay out the pixel data in memory; as far as I'm aware, there are two practical approaches:
An array of size (width * height); each pixel can be accessed by array[y*width + x].
An array of size (height), ...
I want to limit access to images, therefore, I will be putting them outside of the web root, and when a user links to an image, it will authenticate them via user/pass from our database, and then (if authenticated) read the image file, and output it with the appropriate mime type.
Any image links will be something like:
<img src="/imag...
Hi,
I made small program to divide large pictures and take part of them.
When i import image that made by "Microsoft Paint" this image is "96 dpi" so my program doing well.
But I've pictures that made by Photoshop its resolution is 71.6 dpi when i crop these pictures the new cropped picture take 96 dpi resolution so the size is deferen...
Hello everyone,
I tried to look around to see if I am missing something basic, but I can't seem to understand what I am doing wrong.
I have a listbox where I would like to bind the itemssource to a collectionview of photos from a dataset. The problem is, I need to take the directory where the images exist from the MasterView Collectio...
Hi every one,
i wrote some code to crop large image to small one.
Everything is OK but when i tried GIF images i get the following exception
"A Graphics object cannot be created from an image that has an indexed pixel format."
I'm using Graphics class to do this
Graphics gfx = Graphics.FromImage(croppedBitmap)
thank you.
...
Hello there,
I've found myself evaluating both of these libs. Apart from what the GraphicsMagick comparison says, I see that ImageMagick still got updates and it seems that the two are almost identical.
So, what should I use for standard image manipulation using C++? (i.e. image load, filters, display)
Thank you!
QbProg
...
Having an AVStream object how should I reliably distinguish whether this is video or image stream?
I've tried to use duration. If it's 0 - we are having image (system constraints allows for such assumption). But it turns out that duration have special meaning for images - the number of images stored in file.
Is there any tricks to dete...
We use large background images (hi-res photos, up to 700 KB) for our page design.
It's part of the experience of the site that as you browse around, you see different images.
At the moment a different (random) image is loaded on each page request, from a pool of ~15 images, which could grow over time.
I'm looking for a sane way to opti...
I have a multiple language site. With html, javascript, may be ajax if an image does not exist in spanish folder, it should load image from the english folder.
path example
english site : images/home.jpg
spanish site : es/images/home.jpg
Today i have message.properties ... stuff for doing text conversion
message.properties
message_es....
Hello,
How do I load .dds texture files as an Image in C#? There's nothing useful on google that I could find.
The more information with samples you give me,the better it will be for me to understand it.
Thanks in advance!
...
I'm trying to display an image within a Silverlight application but the image does not display when the application is run. When creating the project within Visual Studio I chose the "Automatically generate a test page to host Silverlight at build time" option.
Complete code as an example:
<UserControl x:Class="SilverlightApplication3....
I want to run this piece of code
Bitmap grayImage = (Bitmap)img.Clone();
for (int x = 0; x < arr.GetLength(0); x++)
{
for (int y = 0; y < arr.GetLength(1); y++)
{
int col = arr[x, y];
Color grau = Color.FromArgb(col, col, col);
grayImage.Set...
My page contains an image like in example below. Width of the image depends on browsers width and height is being changed authomaticly (something like ).
This image looks nice after resizing in all browsers except IE (I've tested in IE7 and IE6). In IE image looks ugly. Some parts are thicker than should be and some parts are thinner.
...
I'm implementing a website where images are stored in a database. These are two tutorials that I've come across with two different ways of storing and retrieving image data.
Which one would you recommend, and why?
http://www.developertutorials.com/tutorials/php/storing-images-database-050620/page1.html
http://www.onlamp.com/pub/a/on...