How can I read XMP data from a JPG with PHP?
PHP has built in support for reading EXIF and IPTC metadata, but I can't find any way to read XMP? ...
PHP has built in support for reading EXIF and IPTC metadata, but I can't find any way to read XMP? ...
So I was trying to convert a Bitmap image to JPEG in code and I keep getting this error: An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll Additional information: Parameter is not valid. Here is the related code. All the paths are correct and the EncoderParameter is not null, what ...
I have been trying to figure out a way to convert bitmap files into a JPEG using the GD library in PHP. I have tried numerous implementations but nothing seems to work. I have tried to tell my client that they should not use Bitmap files but he insists and quite frankly does not comprehend enough about computers to convert them to JPG ...
I am using c++, libjpeg for decoding jpeg file. I find it is not fast enough, is there any method to make it faster by setting some compile parameter? or are there any other lib can open jpeg files more faster? now it takes about 750ms to open a 4368 * 2912 4m jpeg image. I wish this can be reduced to 150ms. Many thanks! Added: IJL see...
Hello everyone. I'm trying to create an MJPEG stream, I have a series of jpegs that I want to put together into a stream so that a user can just hit a URL and get an mjpeg stream. I've been trying for the last few days to get this to work, and it may just not be possible. I've brought up ethereal and listened to the packets coming from...
I am using libjpeg for decode jpeg file. when decoding a large image, user may switch to another jpeg file, So is decode-interrupt supported by libjpeg? Many thanks! ...
Hello, I am trying to use Python to resize picture. With my camera, files are all written is landscape way. The exif information handle a tag to ask the image viewer to rotate in a way or another. Since most of the browser doesn't understand this information, I want to rotate the image using this EXIF information and keeping every othe...
Hi, I have a strange problem. I created an ASP.NET Handler (AccidentMap.ashx) that gets a bitmap and returns it. Here is the handler: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Drawing; namespace BackOffice.Modules.Insurance_Company { /// <summary>...
Hi, I have an open-source app which uploads photos to Facebook. To save bandwidth, the photos are automatically resized before uploading (Facebook imposes a maximum size limit). A few people have complained about the photo quality, and in fact you can see the difference (see this issue for some demo images). So my question is, what is t...
Hi, I want to let a user upload a PNG-file with alpha transparency and have it compiled by the server to a swf-file with jpeg compression on the embedded PNG-file. How can I make this happen? I thought first I'd just construct a class and compile it with Flex Framework, but Flex does not compress the embedded PNG-files. You who have...
In Delphi 7, I have a library that uses the TCanvas component to output some information. The resulting image is about 4800*6000 pixels and I would like to print it and save it as .jpeg. To achieve this, I created a TBitmap and gave its Canvas as parameter to the library and then I assigned the bitmap to the jpeg. Apparently, this is ta...
I have a swf that loads images from my server and resizes them to fit the 800x600 stage size. The original images are stored at 1024x768 max pixels. The user can press a button to go into fullscreen mode. What should I do to show the images at the best quality? a) should I resize the loaded images to their max size (1024x768) b) do I n...
I want to save images with c# but while using .net jpeg format it reduces quality and compression is not enough. It must save the file like its orjinal quality and size. I am using this code but It has not enough quality and compression. I am archiving studio photos and quality and compression is very important. Thanks. Bitmap bm = (Bit...
I am seeking a method to extract into separate images the Luma (Y), Cb (blue component), Cr (red component), channels of the JPEG images: Seattle Police Department image #1 Seattle Police Department image #2 Seattle Police Department image #3 I would like results equivalent to this example from Wikipedia. The output must be calculat...
I used F-Spot on Ubuntu to rotate some photos (JPEG files) before I FTPed them up to my website. This seemed to work just fine. However, if those images are opened in a web browser, they do not show as rotated. Nor do they if I download them to a Windows Vista machine and open them with any standard program there. I suspect that F-Spot r...
I'v got a bitmap 24bits, I am writing application in c++, MFC, I am using libjpeg for encoding the bitmap into jpeg file 24bits. When this bitmap's width is M, and height is N. How to estimate jpeg file size before saving it with certain quality factor N (0-100). How can I do it ? Many thanks! Is it possible to do this? For example....
Within the property window of a JPEG image, there is a tab called 'Summary'. Within this tab, there is a field called 'Comments' I would like to write some c# code which will add a given string to this field e.g "This is a photo". Does some kind soul out there know how to do this? Many thanks. ...
I need to display images from a network server that generates tiff images. I would like to use silverlight 3 to display these images. I would like to stream the jpeg to the client. Is this possible if the images "live" on a server other than the web server? ...
There is an IP web camera that I wrote a .NET class for sometime ago. It's basically a Timer implementation that pings a snapshot CGI script from the camera every five seconds. The camera itself is very rudamentary; it does not have any sort of API for me to work with, the only thing I can do programmatically (remotely) is invoke this...
I noticed when I saved my menu background image from jpg to gif that gif takes almost one fourth of the size that jpg does. jpg = 25kb gif = 7kb Is there any downsides to using gif? Its GIF 256 colors BTW. NOT interlaced. Not transparent. Just want to be sure! Thanks ...