I'm having trouble getting Cocoahttpserver from Duesty Designs (the awesome CocoaAsyncSocket open source library developers) to serve images from my application. Using the iPhone project example, I can serve the html file from the resource directory in my project, but the images link to:
<img src='foo.png' />
not displayed.
Does anyone know why or what I need to do to make this work?
The PNG images in your resource catalog are funky-encoded. modmyi has a good article on this.
, , .png_unconverted Cocoahttpserver .png .png_unconverted.
.png_unconverted
.png
CopyPNGFile , (, , PNG ).
, JPEG. , .
Source: https://habr.com/ru/post/1721040/More articles:Twisted: source IP address of outgoing connections - pythonUDP socket port allocation error - c ++Link error on installed Ruby Gem - ruby | fooobar.comCOM: How to get CLSID? Can I use Prog-Id? - c #The consequences of not updating the package version for the iPhone application? - iphoneExamples of object-oriented projects Help procedural programmers - java"no such file to download - net / ssh" from rails Controller on Ubuntu - ruby-on-railsUsing jQuery for JavaScript variables - jqueryMatching regular expressions with non-strings in Ruby without conversion - stringBitBlt () is equivalent in Objective-C / Cocoa - objective-cAll Articles