- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is there support for 1bit per pixel images within UICs PNG implementation ?
currently it looks like it always saves it as 8bit per pixel image with interesting area squashed.
(regardless of image Allocation as 8bit image with 1/8 of the with or 1bit per pixel image)
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aris,
No, UIC's PNG supports 8/16 bits unsigned only. Look intouic_png_enc.cpp:
[cpp] // Depth support check
switch(dataType)
{
case T8u:
case T16u:
break;
default:
return ExcStatusFail;
}
// Color support check
switch(m_iColor)
{
case BGRA:
case RGBA:
m_iColor = PNG_COLOR_TYPE_RGB_ALPHA;
break;
case BGR:
case RGB:
m_iColor = PNG_COLOR_TYPE_RGB;
break;
case GrayscaleAlpha:
m_iColor = PNG_COLOR_TYPE_GRAY_ALPHA;
break;
case Grayscale:
m_iColor = PNG_COLOR_TYPE_GRAY;
break;
default:
return ExcStatusFail;
}[/cpp] Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is there going to be anya dditional work done on UIC to add missing features ?
(specifically in JPEG2000 but also in PNG,JPEG,....)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aris,
Some kind of work is of course will be done on UIC, especially when it concerns problem correcting. I would set the priority of codecs as 1-st JPEG, then JPEG2000, then others. The prioritization is ruled by overall codec demand/popularity, then if there is a room for performance improvement (there is nothing to improve in BMP :)).
The changes can happen in the mid-year when the next IPP updates/releases come.
Regards,
Sergey

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page