Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gray color space model support #1

Closed
CodeEagle opened this issue Oct 21, 2015 · 4 comments
Closed

Gray color space model support #1

CodeEagle opened this issue Oct 21, 2015 · 4 comments

Comments

@CodeEagle
Copy link

CGBitmapContextCreate: unsupported parameter combination:
8 integer bits/component;
16 bits/pixel;
Gray color space model; kCGImageAlphaPremultipliedFirst;
416 bytes/row.
Valid parameters for Gray color space model are:
8 bits per pixel, 8 bits per component, kCGImageAlphaNone
8 bits per pixel, 8 bits per component, kCGImageAlphaOnly
16 bits per pixel, 16 bits per component, kCGImageAlphaNone
32 bits per pixel, 32 bits per component, kCGImageAlphaNone|kCGBitmapFloatComponents
See Quartz 2D Programming Guide (available online) for more information.
Oct 21 10:34:19 LuooFM[6518] : CGContextDrawImage: invalid context 0x0. Backtrace:
<TToFE4NaviCSo7UIImage19navi_imageWithAlphafS0_FT_S0+34>
<TFE4NaviCSo7UIImage26navi_roundWithCornerRadiusfS0_FTV12CoreGraphics7CGFloat11borderWidthS2__GSqS0_+66>
<TToFE4NaviCSo7UIImage26navi_roundWithCornerRadiusfS0_FTV12CoreGraphics7CGFloat11borderWidthS2__GSqS0_+54>
<TFE4NaviCSo7UIImage25navi_avatarImageWithStylefS0_FOS_11AvatarStyleS0+805>
<TFFFFC4Navi9AvatarPodP33_8B0B5A6784EFC9FC4DDC7EE8BE0D2AF923completeRequestsWithURLFS0_FTCSo5NSURL5imageCSo7UIImage_T_U
<TTRXFo__dT__XFdCb__dT_+39>
<_dispatch_call_block_and_release+12>
<_dispatch_client_callout+8>
<_dispatch_root_queue_drain+1829>
<dispatch_worker_thread3+111>
<pthread_wqthread+1129>
Oct 21 10:34:19 LuooFM[6518] : CGBitmapContextCreateImage: invalid context 0x0. Backtrace:
<TFE4NaviCSo7UIImage19navi_imageWithAlphafS0_FT_S0+811>
<TToFE4NaviCSo7UIImage19navi_imageWithAlphafS0_FT_S0+34>
<TFE4NaviCSo7UIImage26navi_roundWithCornerRadiusfS0_FTV12CoreGraphics7CGFloat11borderWidthS2__GSqS0
+66>
<TToFE4NaviCSo7UIImage26navi_roundWithCornerRadiusfS0_FTV12CoreGraphics7CGFloat11borderWidthS2__GSqS0
+54>
<TFE4NaviCSo7UIImage25navi_avatarImageWithStylefS0_FOS_11AvatarStyleS0+805>
<TFFFFC4Navi9AvatarPodP33_8B0B5A6784EFC9FC4DDC7EE8BE0D2AF923completeRequestsWithURLFS0_FTCSo5NSURL5imageCSo7UIImage_T_U
<TTRXFo__dT__XFdCb__dT
+39>
<_dispatch_call_block_and_release+12>
<_dispatch_client_callout+8>
<_dispatch_root_queue_drain+1829>
<_dispatch_worker_thread3+111>
<_pthread_wqthread+1129>

@nixzhu
Copy link
Owner

nixzhu commented Oct 21, 2015

Thanks for test! Could you post your avatar's URL here?

@nixzhu
Copy link
Owner

nixzhu commented Oct 21, 2015

Please let me know if version 0.3.6 fixed this issue.

@CodeEagle
Copy link
Author

Grayscale work @ 0.3.6

@nixzhu nixzhu closed this as completed Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants