CLICK ME
yes, even hidden code blocks!
print("hello world!")| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2014-2015 Russel Lindsay | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| /** | |
| @brief Returns true if images have same meta. Width, Height, bit depth. | |
| @discussion Assumes images are non null. | |
| */ | |
| func doImagesHaveSameMeta(#image1:CGImage, #image2:CGImage) -> Bool { | |
| if CGImageGetWidth(image1) != CGImageGetWidth(image2) { | |
| return false | |
| } | |
| if CGImageGetHeight(image1) != CGImageGetHeight(image2) { |