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
0
votes
1 answer

Converting DICOM images into nrrd images preserving pixel spacing

I am trying to convert a series of MRI DICOM images (.dcm) into .nnrd format. I found this guide for doing it in 3D slicer and I managed to do it. The problem is that the new nrrd image that is created has lost the pixel spacing of the original…
Tommaso Di Noto
  • 1,208
  • 1
  • 13
  • 24
0
votes
0 answers

How to Convert ORACLELOB object to Image File using C#?

I have an Oracle Database Table where an image is stored in LONG Data Type. I want to retrieve this as an image file(Tiff file). According to my research, LONG data column has to be first converted to LOB object and then into image file. By using…
Raxak
  • 389
  • 3
  • 17
0
votes
1 answer

Able to fetch text with their locations from an image...How can I form sentence?

I am using online library and able to fetch words from an image with their locations. Now I want to form sentences exactly like which are in image. Any idea how can I do that? Earlier i used the distance between two words and if there are pretty…
0
votes
1 answer

Huge whitespace appearing when converting .png to .gif with bash convert

I have a directory called "plots_for_gifs", which contains 105 files, whose names are identical apart from they end in ...000.png, ...001.png ... etc. up to ...104.png. I am trying to convert them to a .gif using: convert -density 150 -trim -delay…
co323
  • 37
  • 1
  • 1
  • 6
0
votes
1 answer

Using pdfcreator to convert tiff files

I am using pdfcreator com sdk to convert files to pdf. Most of the time its htmls or images, so i use the printURL method, but if the file is tiff pdfcreator wont create the file as pdf. When i use printFile its open a printDialog which of course…
Guy
  • 11
  • 1
0
votes
1 answer

JasperReports - displaying tiff's stored in BLOB in db

I want to display some tiff's which a stored in BLOB's in an oracle database. I just tried to convert them from tiff to jpg or png using im4java, but that didn't work. Maybe there is a possibility to display .tiff and other img data types in Jasper…
Aaron R.
  • 93
  • 2
  • 9
0
votes
2 answers

Converting Base64 image to file return invalid image/data

I have been trying to convert a base64 string to image file using different methods for the past two days but every time the output file shows no image (it does show size and some encoded data). Notes: 1. The browser interpreting the file as…
mele
  • 66
  • 10
0
votes
1 answer

How create Managed.Graphics.Direct2D.Bitmap object from byte array c#

I am traying to make video player. I want draw images with sharpdx sdk because of cpu isue. But I have an isue. I am getting frames as byte array. Pixel format of images are BGRA32. I wrote following code to convert it. But it gives to me error…
doğan
  • 339
  • 1
  • 4
  • 15
0
votes
0 answers

Incorrect pixel layout occurs sometimes in WPF Image element

Problem If I display an image in an element it will be 3 out of 10 times a incorrect pixel layout for a wallpaper and sometimes a wrong pixel layout for a print screen received from a socket. It looks like the last rows of pixels are not filled in…
Timon Post
  • 2,779
  • 1
  • 17
  • 32
0
votes
1 answer

Performance issue while converting GIF image to Base64 data uri using JavaScript

I am a hybrid (Cordova) mobile app developer and my requirement is to share GIF images to various social media platforms. I have written a function that converts my image into Base64 data url. Mostly it converts the image and makes the share smooth…
Arpita Dutta
  • 291
  • 7
  • 19
0
votes
1 answer

In Unity how do I convert a compressed Texture Asset to in-memory RGB24?

I'm trying to pass a static Texture2D asset to a library, but it expects RGB24, RGB32, or RGB32A only. Those are uncompressed, so storing my texture in that format isn't really an option, it'd be enormous. If I have my Texture2D stored in a…
Dave
  • 1,521
  • 17
  • 31
0
votes
1 answer

How Do I convert my Image to Base64 correctly?

I am trying to get and convert my image to Base64 but encoded (free of any special characters that could crush my application). Sadly, the code is not working. I wonder if there is something wrong with the code. Here is the code: …
0
votes
1 answer

OpenCV cvtColor image truncated

I am using cvtColor to convert an image from YUYV format to RGB24. The output is fine as far as color is concerned but half of the image is cut. The image is 640x480 YUYV image buffer without any headers. I am using the following code: FILE* fd =…
Daniyal Yasin
  • 142
  • 1
  • 14
0
votes
3 answers

How to zoom image using php

There is any possibility to zoom an image in php? I've searched on google but nothing util found. If someone has any tips please give it to me. Thank you
chi
  • 357
  • 3
  • 15
0
votes
0 answers

DNG to PNG conversion using ImageMagick

I have captured a burst of 5 dng images from a Nexus6P for scientific imaging. The pixel intensities from the image will be mapped to my measurement value. For further processing the 5 dng images are averaged to reduce the noise and converted to…
Ujwal S
  • 1
  • 2