Questions tagged [image-conversion]

Use this tag for questions about conversion from one image format to another. This is for still images only; for video, use the [video-conversion] tag.

This tag applies to any kind of conversion from one still image format to another. Video conversion questions should use .

362 questions
8
votes
4 answers

Can an SVG vector graphic be converted to a PNG file format for use in Fireworks?

As many of you know, there are quite a few websites that sell royalty free graphics. Some sites sell vector graphics (svg) or give you the option to download them as such. I don't have a graphics editor that will support SVG. Currently, I'm working…
katura
  • 2,177
  • 14
  • 39
  • 48
8
votes
2 answers

Javascript TIFF Image Conversion

I am looking for a way to convert a Tiff image into a png so modern browsers can render it. I have looked at Tiffus, but that doesn't look like it is being developed anymore. I have also tried writing a conversion program in C# and sending through…
gblock
  • 790
  • 4
  • 11
  • 25
7
votes
1 answer

C++ gdi::Bitmap to PNG Image in memory

I'm trying to send a screenshot of a window over tcp to a server. Getting the screenshot is no problem (using GDIplus). The networking is also easy for me. The problem is trying to convert the gdi+ Bitmap to a png (in memory) to get the data out of…
surreal
  • 113
  • 1
  • 5
6
votes
1 answer

Does webp support grayscale colorspace?

I see official cwebp document have no option to specify target colorspace https://developers.google.com/speed/webp/docs/cwebp because I wish using grayscale color space could save some space for text image.
Charles Chou
  • 179
  • 1
  • 15
6
votes
2 answers

convert byte[] of jp2 to jpg file

I have a byte array of jp2, how can I convert that to JPG file? Thank you Thank all the answers. I made some differences and nearly succeeded. Here is how I do it: using (var reader = command.ExecuteReader()) { …
ChanDon
  • 391
  • 1
  • 5
  • 15
6
votes
5 answers

How do I convert a TIF to PNG in Java?

Under Java what is the best way to go about converting an TIF file to a PNG? Simplicity is preferable, but if the simplest way is to use a third party library then I would consider that solution.
James McMahon
  • 48,506
  • 64
  • 207
  • 283
6
votes
3 answers

How to Generate a Data URI

I recently came across Data URI scheme and was reading about it on Wikipedia. Example code looks something like this:
L84
  • 45,514
  • 58
  • 177
  • 257
5
votes
2 answers

Coredata Image conversion swiftUI

I'm building a simple CoreData app. At one point the user is able to upload and store an image with CoreData in the NSData format. Saving the managedobjectcontext works like follows: let item = Item(context: self.managedObjectContext) …
Jannis
  • 175
  • 10
5
votes
3 answers

Is using the .NET Image Conversion enough?

I've seen a lot of people try to code their own image conversion techniques. It often seems to be very complicated, and ends up using GDI+ function calls, and manipulating bits of the image. This has got me wondering if I am missing something in…
contactmatt
  • 18,116
  • 40
  • 128
  • 186
5
votes
1 answer

RMagick - convert file to another format without saving to disk

I'm trying to convert a file to a specific format so I can to_blob it. I know the technique of saving to disk and specifying the extension to convert it to another format, like this: img.write("another_filename.jpg") I'd like to not have to touch…
Josh Rieken
  • 2,256
  • 1
  • 19
  • 23
5
votes
1 answer

Convert Bitmap to WebP Image?

Anyone know if it's possible to convert a Bitmap to a WebP image using C#? Been Google-ing around but wasn't able to find anything for C#. I found this: mc-kay/libwebp-sharp · GitHub but it doesn't seem to convert bitmaps to the WebP format. Any…
Joey Morani
  • 25,431
  • 32
  • 84
  • 131
5
votes
1 answer

How I can load a Png image from file which have another extension?

I'm using a TImage component to load some png images, but some of them have the .imp extension. I add the Vcl.Imaging.pngimage unit to my code and I'm using this code to load the images if OpenDialog1.Execute then …
Salvador
  • 16,132
  • 33
  • 143
  • 245
4
votes
2 answers

How do I convert images (PSD, AI and EPS) to PDF?

Customers of my Django site can upload a print design in: PDF, PSD, AI and EPS. If the filetype they upload is not PDF I want to convert it to PDF. So my question is: How do I convert Photoshop, Illustrator and CorelDraw files to PDF…
ram1
  • 6,290
  • 8
  • 41
  • 46
4
votes
1 answer

Bulk Convert Entire Folder of Images with sharp

I have a project where I need to bulk convert large amounts of .png files to .jpgs, with some control over compression quality. Using the node module sharp works like a charm on individual files, e.g.: const sharp =…
jimiayler
  • 674
  • 2
  • 11
  • 27
4
votes
2 answers

Converting an HEIC image to Jpg and upload to the Server in Xamarin iOS

I am trying to convert the HEIC image to Jpg from below code in using Dependency Service and trying to display with Image and uploading to Web API.. But both are not working, Is it a correct way of doing HEIC conversion to Jpg? if not please suggest…
Ganesh
  • 924
  • 2
  • 12
  • 34
1
2
3
24 25