jpg

Realtime BMP to JPG conversion in Delphi 7 using Paradox

Researching here and at Code News Fast, I've seen nothing on point to my problem. I have an app where a customer picture (a JvDBImage) is acquired through the clipboard from a third-party picture-taking program when the user clicks a button in my app to load it. (PhotoImage.PasteFromClipboard). That loads and saves the image as a bitmap ...

How can I convert a WMF image to PNG or JPG on Windows using Perl?

By any chance is anyone aware of a Perl module that will allow a WMF image to be converted over to the PNG or JPEG format? I searched CPAN, but did not come across anything. Due to installation limitations, must be a Perl module and work on Windows. ...

Merging JPGs with GDI in C#

My scenario: I have one color background image JPG. I have one black text on white background JPG. Both images are the same size (height and width) I want to overlay the image with black text and white background over the color background image, i.e. the white background becomes transparent to see the color background beneath it. Ho...

If I take a loss-compressed file and save it again (e.g. JPEG) will there be loss of quality?

I've often wondered, if I load a compressed image file, edit it and the save it again, will it loose some quality? What if I use the same quality grade when saving, will the algorithms somehow detect that the file has already be compressed as a JPEG and therefore there is no point trying to compress the displayed representation again? W...

Rendering a Sequence of Images in C# to make a video

I have a sequence of jpg images that I am capturing and rendering to the screen to create a video. I am decompressing the image from a MemoryStream using a JpegBitmapDecoder and rendering it by setting the Source on an Image control. This seems to work okay, but the processor overhead is pretty high. The images are 1280x720, running...

Create Video out of image files?

Hello folks; Im trying to make a video out of a folder full of jpeg files. I tried google, and everybody is stucked with this. I have downloades de WM SDK and the Encoder, but since the moment I dont know their object model I cant do much. Does somebody here have some code WORKING about how to create a WMV or an AVI or a MPEG video fil...

Use PHP to convert PNG to JPG with compression?

I have a bunch of high quality PNG files. I want to use PHP to convert them to JPG because of it's smaller file sizes while maintaining quality. I want to display the JPG files on the web. Does PHP have functions/libraries to do this? Is the quality/compression any good? ...

full jpg image is not showing up in browser

I have just encountered a strange situation. I have some basic html: <table bgcolor="#FFFFFF" width="774"> <tr> <td align=center valign="top"> <br /> <a href="../../images/backlarge.jpg" target="_blank">Click here to see larger view of scorecard</a><br /> <img src="../../images/back_01.jpg" border="0" /><br...

Problem with showing some JPG files in Delphi

i have tried to open some JPEG files in Delphi with TImage component. i also added the Jpeg unit. i can open most of jpg files and there is no problem. but when i try to open some JPGs, the program just throw an exception. i also tried to load that images in design mode, but there is some problem. in design mode the exception is: Acc...

Indesign to JPG

Hi I need to save every page of a Indesign CS3 and Quark file as JPEG , in my cocoa application using Objective C... can anyone suggest me on this? thank you ...

Ghostscript pdf2jpg - colours wrong?

Hi, I'm using the Ghostscript API from c#, to convert multipage PDF's to jpgs. My issue is with colour conversion. When I open the Source PDF in photoshop, and export to jpeg, each colour in each jpeg matches the colours of the original PDF perfectly. However, when I run the process through Ghostscript, the colour come out as differe...

Modifying JPEG headers in C#

I'm trying to open a file to bytes, convert it to a string, modify some data (think Steganography) and convert the file back to bytes and save it as a jpeg. So far, everything I've tried has corrupted the file in converting it to a string. I've tried converting it to a 64-bit string, but of course that's a bit hard to modify the data in ...

How to call JMagick from a web application

I have a servlet based application for serving stored documents and images. The images were all stored as jpg with standard sizes based on corporate standards at the time the system was designed. Now, the image sizes that users want to see have changed. Since there are many images that won't need to be resized, we have built a service...

Saving a PNG (or good quality JPG) image to the Photos Library.

Scenario Saving a 320x480 view as an image in the user's saved photos album. Problem Always saves a 800x?, low quality JPG. Using the normal renderInContext/UIImageWriteToSavedPhotosAlbum method to save a view to the library. I've tried converting the UIImage to a PNGRepresentation then using that data to make a new UIImage - it still ...

[AS3] print a jpg

Hey guys, I've been trying to print a dynamically loaded jpg and for some reason it's never printing to scale, not sure what I'm doing wrong so here's what I've done so far var request:URLRequest = new URLRequest(getAbsPath("pages/" + pagePrint + "_big.jpg")); var loader:Loader = new Loader(); loader.load(request); loader.contentLoader...

Converting from HBITMAP to Jpeg or Png in C++

Does anyone know how I can use an HBITMAP variable to write a png or jpeg file? I first looked into doing this with GDI+ but it gives me errors telling me min/max haven't been defined (defining them just brings more problems), I then looked into libpng's C++ bindings (png++) and couldn't get the examples to compile. thanks, Mikey ...

HTTP headers for jpg files after mod_rewrite

Hello, I'm using Apache's mod_rewrite to route requests for .jpg files to a directory outside my web root. It generally has been fine, but there are a few images that do not display. I then realized that when I use PHP's get_headers() function on my image URLs, they are all returning "Content-Type: text/html; charset=UTF-8" instead ...

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? ...

Convert TrueType Font (or JPG image) to PNG image with Alpha Transparency in .NET?

Anyone know how to convert either a TrueType Font or JPG image into a PNG image with Alpha Transparency in .NET? I basically want to create a script-looking signature image that has a transparent background so that I can programmatically add that png signature into PDF documents after they've been created. I can do this with a normal J...

Preferred way to copy JPG files from a remote server using PHP

Hello, I'm using PHP to copy JPGs from a remote server to my own server. Is it best to simply use the copy() function, or are the jpeg-specific functions better? For example: $copy = copy($remote_url, $dest_file); -OR- $img = imagecreatefromjpeg($remote_url); $copy = imagejpeg($img, $dest_file); imagedestroy($img); What would th...