Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

JPG text header msgbox type shit

Name: Anonymous 2010-10-06 3:00

I need to make a program that edits a jpg, specifically i want it to take in a string, and place the text on some blackspace in the image, and output the image as image-statement.jpg- whats the easiest way to do this? ive got photoshop (maybe there's easy macros?). I have basic java experience. what are your thoughts?

Name: Anonymous 2010-10-06 3:01

MS-Paint

Name: Anonymous 2010-10-06 8:20

As much as I hate to be helpful: http://www.pythonware.com/products/pil/

Name: Anonymous 2010-10-06 13:59

>>3
Thanks! If I ever have any other questions (lol probably concerning my Java homeworks), now I know that /prog/ is the place to go!

Name: Anonymous 2010-10-06 14:12

>>3
You helped him!

Name: Anonymous 2010-10-06 14:45

ImageMagick

Name: Anonymous 2010-10-06 15:09

netpbm

Name: Anonymous 2010-10-06 15:18

import Image

Name: Anonymous 2010-10-06 16:22

Print the image out, write what you want by  hand, then scan it back to JPEG format.

Name: Anonymous 2010-10-06 19:46

>>9
[i]Fucking [b][o][u]EXPERT[u][o][b][/i]

Name: Anonymous 2010-10-06 20:57

Record a script in Photoshop

Name: Anonymous 2010-10-07 4:55

>>10
BBCode failure.

Name: Anonymous 2011-02-03 7:50

Name: Anonymous 2011-02-04 12:17

Name: Anonymous 2011-06-28 12:32

>>3
Because JPEGs are more heavily compressed than other image formats, their information is more volatile and likely to expand at high speed through an unchecked buffer, poorly allocated resource or any other available system space. I'd guess you're probably losing image data through one of these means.

You see, when you load a JPEG into memory, the EXtra colour Information Format (EXIF) header is loaded into RAM in order to prepare the video prebuffer for the incoming high-speed flow of colour information from the uncorked JPEG. If your bus isn't ready for this information, the rapidly decompressing file information can flow through other parts of your system.

Ordinarily this isn't a problem: as a matter of fact, JPEG was designed for this sort of thing. Older computers couldn't handle the explosive power behind the fledgeling image decompression algorithm, so rather than fight it, image experts invented the Jampacked Picture Extraction and Gathering (JPEG) protocol. They cleverly decided to allow the image data to spray wherever it would, knowing that after the extraction phase would send raw data all over the inside of the computer, the gathering phase would locate it all and reassemble it into an image. With the advent of faster computers the delay between spray and collection is so small as to be unnoticeable, while newer and bigger video cards are more capable of withstanding the onslaught of colours.

Still, the primary weakness of this algorithm is the haphazard placement of decompressed data. There's just too much of it to channel through normal means, so any loss of data containment results in corrupted images. In your case, it would appear that you're losing image data through the empty hole where your goddamned shift key should be.

Name: Anonymous 2011-06-28 16:32

>>15
You, sir, are a winner.

Don't change these.
Name: Email:
Entire Thread Thread List