Converting JPEG to TGA 16 bits per pixel
See original GitHub issueDescription
I’m trying to convert a jpeg image to tga 16 bits per pixel (non-paletted) format. Running an imagemagick convert operation directly with convert spongebob.jpeg -depth 5 spongebob_16bit.tga
gives a file with expected format. Trying to reproduce the same output with Magick.NET results in incorrect bit depth or garbled images.
Steps to Reproduce
using (var image = new MagickImage("spongebob.jpeg"))
{
image.Depth = 5;
image.Write("spongebob_16bpp.tga");
}
System Configuration
- Environment: Windows 10
- Magick.NET version: Magick.NET-Q16-AnyCPU 7.15.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Convert JPEG to TGA with Filestar - Fast and Easy
Convert JPEG to TGA quickly and efficiently with Filestar's batch conversion ... It supports 8, 16, 24, or 32 bits per pixel at...
Read more >Convert your JPG to TGA for Free Online
Do you want to convert a JPG file to a TGA file ? ... TGA files can now support 8, 16, 24 and...
Read more >JPG to TGA Online Converter
JPG to TGA online converter is the easiest way to convert JPG files to TGA format. ... It supports 8, 16, 24 and...
Read more >Convert Files To and From Truevision TGA Images
Our online TGA converter is functioned to transform your compatible file formats ... Targa graphic file format supports 8, 16, 24, or 32...
Read more >JPEG to TGA (Online & Free)
Best way to convert your JPEG to TGA file in seconds. 100% free, secure and easy to use! ... Format supports color depths...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just published a new release but I forgot to include this 😬. Going to publish a new release later today that includes this.
TGA images have no DPI so I think you came to the correct conclusion.