image-manipulation

CSS Solution to image rendering

I have an zoomable image in the website. When the image is zoomed out to a large extend it appears very SHARP and ugly. I tried using image-rendering : opimizequality, optimizespeed CSS but did not work. Is there any other way out. Thanks ...

Permanently-Caching images in GWT

Dear members, What's difference between cache & permanently cache in browser. In GWT framework image files rename to .cache. pattern and I read somewhere in google website to cache permanently images in GWT configure the App-Server for caching them permanently. But I don't know how to do this exactly. My website's images will never chan...

Upload image, create its thumb then save

Let's say I uploaded and image. I can get its tmp dir then save it with move_uploaded_file() but what if I wanted to also create a thumb and save bothin some folder? I know how to save the uploaded image, but I don't know how to start manipulating an image and save it after creating a thumb ...

What C library allows scaling of ginormous images?

Consider the following file: -rw-r--r-- 1 user user 470886479 2009-12-15 08:26 the_known_universe.png How would you scale the image down to a reasonable resolution, using no more than 4GB of RAM? For example: $ convert -scale 7666x3833 the_known_universe.png What C library would handle it? Thank you! ...

Text on a picture, but like this one. How ?

I've made a pure PHP script that uses GD library to put text on an image, text entered from a HTML form. The problem is that i can't give the user the possibility to position the text properly. I've found this good example http://lolkot.ru/lolmixer/#1369, it allows users to play with the text very easily with the mouse ! How is this po...

How do I script converting a .psd or .ai file into multiple sized PNGs?

For iPhone programming, I need my application icon in many sizes. Rather than have my designer export one by one, is there a way I can script photoshop, illustrator, or just use Python or something to convert a .PSD or .AI file into several different sizes of .PNG? ...

Rounding text on the X and Z cartesian coordinates

Hello, For an online shop that allows engraving, I want to generate a preview for the customers of their engraving. Some of the products are round so I have to round the engraving text as well, however I am clueless on how to achieve this. This is a good example of what kind text effect I'm after, note that at this moment I'm not inte...

Inserting NSData into SQLite on the iPhone

Hi all, So far I've managed to create this method for inserting into a SQLite database on the iPhone: - (void) insertToDB :(NSString *)Identifier :(NSString *)Name { sqlite3 *database; if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) { char *sql1 = "INSERT INTO table VALUES ('"; const cha...

how to crop image in codeigniter ?

Hello i'm using codeigniter to build a project and right now i need to create a thumb depending on user choice. like he will give me X1,Y1,X2,Y2,X3,Y3,X4,Y4 i want to crop the image depending on that 4 points. i checked the image manipulation class. the crop function seems to be very strange. any help please ? ...

CodeIgniter :: how to resize and watermark image without saving it to hard disk

I'm having a problem: I want to resize and watermark an image in CodeIgniter. But I need "dynamic_output" to be TRUE. $this->image_lib->resize(); $this->image_lib->watermark(); But when resize function fires it returns the image directly. I don't need to save the image to save temporary copy. Any help? ...

can an image be manipulated using canvas

Is it possible to manipulate images using canvas? How do we get the image onto the canvas? @Override protected void onDraw(Canvas canvas) { Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.icon); Bitmap mBitmap = bitmap.copy(bitmap.getConfig(), true); canvas = new Canvas(mBitmap); Matrix matrix = ne...

Image retrieval optimisation with LINQ

Hi, I'm working on optimising the image retrieval from the database with LINQ. The approximate image size is 4000 * 1000 pixels which weighs about 400-600KBs. The images are retrieved through a controller which is being called by a webservice. Web service gets called through jQuery. The first image that gets retrieved in about 0.7 - ...

Is it possible to perform a lossless rotation on a JPEG Image in PHP?

I need to rotate some existing JPG images. They have already lost some detail, but I now want to rotate them and lose no further detail. With a little research, it seems the only lossless Image rotation library for PHP is by using the jPegTran library. Are there any other options when it somes to doing lossless jpg rotation? Thanks! ...

CodeIgniter image manip. script mixing up file names

This is from a CodeIgniter application that uses its image manipulation library. $photos contains an array of relative photo paths. This script should resize the original and also create a medium (_m) and small (_s) size. When I only send one photo to the script, everything works great. When I send a second, things get screwed up - th...

Imagemagick perspective and virtual pixels

I'm trying to automatically straighten an image so that a grid is aligned with the picture. However, whenever I do the manipulation there is a white border around the image. Can anybody help me with this problem? ...

How to rotate an image using client side solution

I am wondering if there is any way to dynamically rotate an image or invert an image using a client side solution? I don't care if it is plain old javascript, jquery plugin, css. I just wondered if there was some way to do this dynamically on the client side rather than having to write server side code to do for each image which I can do...

Haskell, How do I rotate a JPEG image by 45° and save it back to disk?

How do I rotate a JPEG image by 45° and save it back to disk? ...

How to properly resize large images in PHP

For a website I run, users can upload pictures they've drawn to a gallery. We create a thumbnail and a small view of that image to display to other users (clicking the small view image shows the full sized image). With this in mind, I created a very simple resize script. In most cases this script works perfectly. However, I've come a...

How to Manipulate photos with C#/.NET4

I'm looking for the best advice about how to manipulate/morph photographic images. I've been looking around but what I keep coming across is more 3D graphics or game development. What I want to do is manipulate 2D still images. Ideally I'd like to do this in SL4 but WPF would be fine. I am using .NET4/VS2010. Many thanks for the wis...

Codeigniter image upload

Hi There, I am wanting to allow my user to upload an image, using a form. In the same form I want to display the image that has been uploaded. Is this is possible to do without actually submitting all the form? Thanks ...