Questions tagged [wic]

Windows Imaging Component

The Windows Imaging Component (WIC) provides an extensible framework for working with images and image metadata. WIC makes it possible to develop image codecs and get the same platform support as standard image formats. A single, consistent set of interfaces is used for all image processing, regardless of image format, so any application using the WIC gets automatic support for new image formats as soon as the codec is installed. The extensible metadata framework makes it possible for applications to read and write their own proprietary metadata directly to image files, so the metadata never gets lost or separated from the image.

171 questions
3
votes
1 answer

DirectX11 CreateWICTextureFromMemory Using PNG

I've currently got textures loading using CreateWICTextureFromFile however I'd like a little more control over it, and I'd like to store images in their byte form in a resource loader. Below is just two sets of test code that return two separate…
seethru
  • 81
  • 1
  • 5
3
votes
1 answer

Set up couldn't find update.inf file

I need to install a software build in .net platform that requires .net framework 4. Actually my problem is that I have a new laptop and I need to install a .net framework but while installation it give a error as in image I have uploaded. So I…
Subek Shakya
  • 595
  • 4
  • 10
  • 28
3
votes
1 answer

DirectX -- Render a quad to a WicBitmapRenderTarget (SharpDX)

I'm trying to use Direct3D11 to perform some image warping really fast as per this previous question but can't seem to get everything working together. Things are failing when I try to read the DXGI Surface into a Direct2D bitmap. var renderSurface…
roufamatic
  • 18,187
  • 7
  • 57
  • 86
3
votes
3 answers

WIC CreateDecoderFromStream returning 0x88982F50 post server migration

I have a thumbnail generation routine that I created using WIC for a .NET app. It has been working fine for the past year, but we just migrated to a new server. Old Server was W2k8 R2 Enterprise SP1 New Server is W2k8 Standard SP1 Here's the code…
2
votes
1 answer

Version of Windows Imaging Component

How can I check what version of Windows Imaging Component is installed on a Windows machine? I suspect the Windows 2008 Servers used in Azure do not have the same version that I have on my Windows 7 development machine. I just want to verify that as…
Krip
  • 854
  • 1
  • 7
  • 15
2
votes
1 answer

VS 2010 BootStrapper for WIC (Windows Imaging Component) before .Net 4 installation in XP

I have created a setup and deployment project for my .Net 4 app in VS 2010. In my prerequisites i have checked .Net4 prerequisite but i have learned that .Net4 has left out WIC (Windows Imaging Component) to make it light. When i run my setup in…
Nikhil Agrawal
  • 47,018
  • 22
  • 121
  • 208
2
votes
1 answer

How to get error messages from Windows Imaging Component (WIC) using C++?

I've been experimenting with Windows Imaging Component (WIC) in C++ and while everything works I'd like to be able to display descriptive error messages when WIC fails to load or transform an image. MSDN documents the various error codes but no way…
2
votes
1 answer

Can the Windows Imaging Component return a human-readable format name?

I'm using IWICImagingFactory::CreateDecoderFromFilename to load images using the Windows Imaging Component (WIC). It returns an IWICBitmapDecoder that I can use to get the actual image data. Is it also possible to get a human-readable string of the…
Andreas
  • 9,245
  • 9
  • 49
  • 97
2
votes
1 answer

How to convert WicImagingBitmap to Gdi+ Bitmap or a stream?

I'm a .net developer and I'm using WindowsAPICodePackage WIC to render images. I want to convert WIC ImagingBitmap to a gdi+ bitmap or to a MemoryStream instead using its own method "SaveToFile". Is there a way? Here is my code, please help: int…
Howard
  • 3,638
  • 4
  • 32
  • 39
2
votes
1 answer

JPEGEncoder Windows Media Imaging not honoring color profile of Image

I have the following image (have put a screen-grab of the image as its size is more than 2 MB - the original can be downloaded from https://drive.google.com/file/d/1rC2QQBzMhZ8AG5Lp5PyrpkOxwlyP9QaE/view?usp=sharing I'm reading the image using the…
techno
  • 6,100
  • 16
  • 86
  • 192
2
votes
0 answers

Any way to patch around .net 65535 pixel limitation for png

The most relavent infomation about the exact problem I can find here, but I am wondering about a solution What is the maximum resolution of C# .NET Bitmap? The below image is code from microsoft Image Composition Editor, an abondoned program used…
Reroute
  • 265
  • 1
  • 9
2
votes
1 answer

How to determine top-down/bottom-up from WIC decoder?

I'm using WIC (Windows Imaging Component) to decode image files and get access to the pixel data. I'm trying to figure out the pixel order (i.e., bottom-up or top-down). I use IWICImagingFactory::CreateDecoderFromFileName to create the decoder from…
Adrian McCarthy
  • 45,555
  • 16
  • 123
  • 175
2
votes
1 answer

JPEG Extract DCT tables

I am developing an image viewer/editor using VS2008 ,MFC and WIC and I would like to recompress jpegs as closely (quality-wize) as possible to their original, after image processing. Does anyone know how to extract luminance and chrominance tables…
Pifcnt
  • 117
  • 1
  • 10
2
votes
1 answer

WICConvertBitmapSource + CopyPixels results in blue image

I'm trying to use WIC to load an image into an in-memory buffer for further processing then write it back to a file when done. Specifically: Load the image into an IWICBitmapFrameDecode. The loaded IWICBitmapFrameDecode reports that its pixel…
Josh Kelley
  • 56,064
  • 19
  • 146
  • 246
2
votes
0 answers

Windows Imaging Component transparency

I am loading a Image using WIC (windows imaging component). I need to modification in the image. To get the pixel values I used this code. But the transparency is lost with this code .. I changed the code from…
Wickkiey
  • 4,446
  • 2
  • 39
  • 46
1
2
3
11 12