high-resolution

loading logic of high resolution images by naming convention in iphone

こ雲淡風輕ζ 提交于 2019-12-07 18:19:48
问题 According to Apple's naming convention for high resolution images When we provide just name.png, iphone 3 and iphone 4 will display it. When we provide also name@2x.png which has higher resolution than name.png, this time iphone3 will display name.png and iphone 4 will display name@2x.png. Here is my question what if we only provide name@2x.png? Ok, iphone 4 will display it. Can iphone 3 display this image? Thank you in advance.. 回答1: No, it can't. Non-retina devices will not find the image

Why is my audio AVCaptureConnection not active for highest-resolution formats?

情到浓时终转凉″ 提交于 2019-12-07 01:51:00
问题 I'm working on an iOS project which uses AVAssetWriter and AVAssetWriterInput to record audio and video to file. Everything seemed to work fine when the video resolution was limited to 720x1280. I'm now trying to take advantage of the AVCaptureDeviceFormats for higher resolutions available on newer iOS devices. The video continues to work fine using any of the AVCaptureDeviceFormats available on the device. However, the audio does not work. I've tracked this down to the active property of my

Why is my audio AVCaptureConnection not active for highest-resolution formats?

随声附和 提交于 2019-12-05 07:27:05
I'm working on an iOS project which uses AVAssetWriter and AVAssetWriterInput to record audio and video to file. Everything seemed to work fine when the video resolution was limited to 720x1280. I'm now trying to take advantage of the AVCaptureDeviceFormats for higher resolutions available on newer

Creating huge high-resolution Bitmap bigger than 23k x 23k

故事扮演 提交于 2019-12-04 06:34:08
问题 I want to create a huge resolution Bitmap-image so that to load it into memory and transform it based on user-gestures. I noticed that the limit for new Bitmap(int32,int32); is around 23000 but I need like 1159480 x 45920 with a bitdepth of 32. Can someone help me out or is this impossible to do? I have 8 gigs of RAM. 回答1: ARE YOU REALLY SURE YOU NEED SUCH SIZE? It should be bigger than than 150GB . Moreover if you consider a point size of 1/72 of inch your image will be 409 km 500 m...

High Resolution images in a uiwebview

扶醉桌前 提交于 2019-12-03 12:55:48
问题 I have a webview that displays an image, as shown in the code below. The bundle also has a DGT64@2x.png with dimensions of 128x128 for use on the iPhone4. The DGT64@2x.png never shows. Is there a way to display either/or depending on whether it's an iPhone or an iPhone4? <img src="DGT64.png" width="64" height="64" align="left" style="padding:2px;"/> 回答1: I don't think the @2x trick works with web content. Sounds really useful though, I would certainly file a bug with Apple to request that. If

About responsive sites, pixels, and density

送分小仙女□ 提交于 2019-12-02 15:11:52
问题 I have coded a responsive website, in which I have CSS media queries to detect the screen size(pixels) of the device the user is navigating with. Just standard medias. Example: @media (max-width: 1199px){ /*code*/ } @media (max-width: 991px){ /*code*/ } @media (max-width: 767px){ /*code*/ } When I test my website with my mobile, which is a Samsung Galaxy S4 with 1920x1080 pixels my website shows me the mobile version, which is in this case the @media query with a max-width of 767px. I

工具导航Map

JSON相关