Questions tagged [image-transcoding]

Anything related to image transcoding, i.e. the process of converting a digital image from a storage format to another (e.g. from PNG to JPG).

Anything related to image transcoding, i.e. the process of converting a digital image from a storage format to another (e.g. from PNG format to JPEG format).

7 questions
22
votes
4 answers

Image transcoding (JPEG to PNG) with Java

In my Java application I would like to download a JPEG, transfer it to a PNG and do something with the resulting bytes. I am almost certain I remember a library to do this exists, I cannot remember its name.
adam
  • 22,404
  • 20
  • 87
  • 119
14
votes
5 answers

SVG to PDF on a shared linux server

I have a website which uses SVG for an interactive client side thingamabob. I would like to provide the option to download a PDF of the finished output. I can pass the final SVG output back to the server, where I want to convert to PDF, then return…
Duncan Lock
  • 12,351
  • 5
  • 40
  • 47
3
votes
1 answer

Convert Tiff to pdf with PDFSharp-gdi C#

I am stuck. Currently I am trying to simulate pulling a binary blob from a database that is supposed to be a TIFF image. I use this gist image.tif in the image variable to do so. I am pretty sure I am close to making this happen. It's that the issue…
ozfive
  • 350
  • 2
  • 5
  • 14
1
vote
1 answer

JAVA TCP Server Error

Server : package Server; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import…
윤세영
  • 33
  • 3
1
vote
2 answers

How to save a BufferedImage that is generated by Potrace after vectorization in a file with svg format?

I am using PotraceJ (potrace library's java version) - note that potrace is used for vectorization of images. Situation - potrace traces image, and stores the result in a BufferedImage, which is then displayed in a JPanel as an ImageIcon. My…
Manasvini Ganesh
  • 483
  • 5
  • 16
1
vote
2 answers

Generate JPG from SVG using Apache Batik

I'm trying to turn a .svg file into a .jpg or .png file. Right now I'm trying to use Apache Batik Transcoder (Link). This is my code right now: (official code from here) // Create a JPEG transcoder JPEGTranscoder t = new JPEGTranscoder(); // Set…
JetStream
  • 809
  • 1
  • 8
  • 28
1
vote
0 answers

imagetruecolortopalette ignores color parameter

How do I create an image without losing all the colors? It is creating an image with speckles and changing the color number doesn't make a difference. The PNG image I start with (uploaded via PHP) is much sharper. //Create an image from the…
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330