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
3 answers

Getting error after updating image in Sql server 2008 database

I am developing a winform application in VS 2010 C#. I have developed a form to insert and update the user details in this. My Update user form is as below image ![Update User Screen][1] https://i.stack.imgur.com/iZaAJ.png And coding to update is…
user2846044
0
votes
1 answer

WP8 App crashes while trying to create instance of Writablebitmap in c# -Insufficient memory

I would like to do a Image conversion in image to byte array and byte to image in windows phone app. now,i tried to covert image to byte conversion,for that first i create an instance of writablebitmap class with argument as uielement…
Test Dev
  • 11
  • 2
0
votes
1 answer

PHP resize image, convert to jpg, and display in browser

I have a form to upload a file:

And a PHP code to resize the uploaded file (image), convert it to JPG, and…
user2171842
0
votes
3 answers

php image resize and convert to jpg on upload

How to resize an image and convert to .jpg on upload? Basically something like the post here How do I resize and convert an uploaded image to a PNG using GD But i need to convert to JPG... I tried imagejpeg() instead of imagepng() but it still saves…
user2171842
0
votes
3 answers

byte array to Base64String (image conversion)

I am converting an image to byte array on client side in my wp7 app and then sending it to a web service(server), the code is shown below---> client side private void SendImage(byte[] data, long UserID) { Uri uri = new Uri("some uri"); …
Ashok Damani
  • 3,896
  • 4
  • 30
  • 48
0
votes
1 answer

Read WMF image from SQL Server

I am using a SqlDataReader and I am trying to read from a table I converted from an Access file, and is in SQL Server 2008. The datatype is now a varbinary(max). How do I convert this, so I can have it as System.Drawing.Image? It is a Windows…
James Black
  • 41,583
  • 10
  • 86
  • 166
0
votes
1 answer

iOS : converting png image to 1 bit bmp images

My requirement is to convert a png file into 1 bit monochrome bitmap file. I have a UIImage object and I want to get the representation of it as a 1 bit monochrome bmp. 1) Is there any straightforward way to do this? I am ready to do this from…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
0
votes
3 answers

convert an image from IPL_DEPTH_8U to IPL_DEPTH_32S

How can I convert an image from IPL_DEPTH_8U to IPL_DEPTH_32S? I need to use the watershed function and I have a marker image in IPL_DEPTH_8U. The problem is that the watershed function only accepts IPL_DEPTH_32S for markers. Thanks in advance,
user1931907
  • 41
  • 10
0
votes
1 answer

Gaussian blur with image convolution

I've been trying to blur some text for a while now using the following code in PHP: $image = imagecreate(150,25); $background = ImageColorAllocate($image, 255, 255, 255); $foreground = ImageColorAllocate($image, 0, 0,…
Andreas Jarbol
  • 745
  • 2
  • 11
  • 27
0
votes
1 answer

C# Converting a 1bit BMP to version 3.0

I currently have a C# project given to me that requires the converting any image to a 1bit Bitmap Image. So far so good. The code is working perfectly well. When the coverted file is sent to another colleague who needs it for a program that I can…
tripbrock
  • 952
  • 4
  • 13
  • 28
0
votes
1 answer

Captured screen & conversion to Byte[] (image comparison methods)

I've red a few posts regarding image comparison, and I tried to save image captured from screen then store it in file system . I used conversion methods to convert captured image into byte[] for later use . Then when I want to compare it to second…
LoneXcoder
  • 2,121
  • 6
  • 38
  • 76
0
votes
2 answers

image(png, jpeg) to dll converter

I need to convert my image file (.pnd, .jpeg etc) to dll file in order to put it in windows registry, kindly help if any one had tried this before.
NoNaMe
  • 6,020
  • 30
  • 82
  • 110
0
votes
2 answers

Uncommon png file iOS display

In this post, i was wondering why my png files were badly displayed on retina displays. I finaly found that the problem came from the PNG file itself: when I open it and save it again with photoshop or something else, the problem disapear. As this…
Martin
  • 11,881
  • 6
  • 64
  • 110
0
votes
1 answer

YcbCr image representation

I m new in image processing field. I have worked with bmp images but currently i have a problem at hand which needs image to be converted into YCbCr color space before further processing. I have read about YCbCr and conversion process but the…
jack43
  • 1
  • 2
0
votes
0 answers

How to convert binary codes to black and white images

Is there any software(or online website) which can be used to convert binary codes to black and white images (eg: 0 as black and 1 as white). i googled it but i didnt find any softwares now i am thinking to make it myself; i have experience in c,vb…
Eka
  • 14,170
  • 38
  • 128
  • 212