I'm experiencing something that seems like a bug: if I create ICO files using the CGImage APIs I get the first rep (256px) with a color profile, while all the other reps don't have a color profile (and in fact they look much brighter). I also tried setting the color profile in each image rep (on the original NSImageRep and in the CGDestination through the dictionary of image properties) but nothing changes. Can we definitely say this is a bug?
CGImage APIs and ICO files
333 Views Asked by user732274 At
1
There are 1 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in PROFILE
- Visual Studio 2013 XSLT Profile
- Process ran as different user - web service call
- PHP - How to echo profile page after form submit
- When i want to get profile pic in contact screen. then i get null pointer error in user
- Rails: error while trying to create user profiles
- implement set as picture button in my app
- Symfony 3 - profiling performance
- Use existing Firefox profile with disabled JavaScript, in C# Selenium
- Sonarqube -how to get the key of a quality profile
- Bash syntax in /etc/profile
- MDM profile installation failed in iOS sdk
- How to profile a piece of code? VS2013 C++
- Edit profile picture on Instagram using Instagram API?
- Making personal profile after Devise / Omniauth-facebook authentication
- Error code : 11581 - Profile description is invalid in paypal
Related Questions in CGIMAGE
- Pixel Array to UIImage in Swift
- iOS overwrite EXIF flash property with new value for front camera flash
- How do I get the color data of 3 points in my sprite kit game?
- CGImage memory size returning weird results
- [NSNull CGImage]: unrecognized selector exception when picking an asset and converting it to JPEG
- Trying to crop my UIImage to a 1:1 aspect ratio (square) but it keeps enlarging the image causing it to be blurry. Why?
- iOS PNG Alpha channel is solid when converting UIImage to CGImage for OpenGL
- CGImageDestinationAddImage writes image without blue elements
- How to decode raw png data from Assimp to CGImage?
- How to apply UIEdgeInsets to CGImage?
- Unable to set frame of masked Image - Objective C
- What could be the cause of this error with CGBitmapContextCreate()?
- Most efficient method of loading a smaller representation of an image
- Objective c: drawing a png on the screen (UIImage inside a UIImageView)
- error with CGImageCreateWithImageProvider
Related Questions in ICO
- Mobile Favicons
- Using .ico in img tag
- Custom size .ico with CSS
- How can I canvas an icon in web pages using chrome extension?
- How to set up icon for a program?
- imagick convert to ico fails for some files
- Creating a file type with new icon
- Saving internet icon then re-opening causes EOF with image4j
- Writing ico files java
- Is there a way to decode a .ICO file to a resolution bigger than 16x16?
- Get a higher resolution png from a favicon resource
- Favicon at root of the site but not displaying
- Inno Setup installer icon does not show in Control Panel or Settings
- png2ico exporting ICO in lower quality than the original PNGs
- Java Image4j: method not return when decoding ico image
Related Questions in NSIMAGEREP
- NSImage and UIImage give different NSData representations
- Create and write paletted RGBA PNG using NSImage
- Change CGImageDestination dpi
- CGImage APIs and ICO files
- How to compress jpeg image with Cocoa?
- NSImage drawInRect and NSView cacheDisplayInRect memory retained
- NSBitmapImageRep load image
- How to Implement Custom Image representation for NSImage
- 32 bits big endian floating point data to CGImage
- NSImage size is wrong
- Making IKImageView aware of my custom NSImageRep
- NSImageRep wrong resolution?
- How to avoid a NSCachedImageRep
- NSBitmapImageRep and multi-page TIFFs
- NSImageRep confusion
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well, the 256x256 entry in an ICO is special. It's basically a PNG embedded in the ICO. So, it can support a color profile. I don't believe that an ICO has any support for color profiles other than indirectly through that PNG entry.
I suppose it might be a bug, but it's hard to know what the "right" thing to do there would be.