Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-2041

takeScreenshot supporting retina disaplay (with an imageAsCropped bonus!)

    Details

      Description

      {html}<div><p>Hi,</p>
      <p>I had asked a question on the helpdesk regarding the screenshot
      function (and also the toImage function) since I found that it
      didn't save images wider than 320 pixels. And since the iPhone4 is
      640 x 960 I wanted a larger screenshot.</p>
      <p>So, after some digging, searching and staring at code, I managed
      to update the MediaModule.m file to get it working as I needed it
      to.</p>
      <p>I had also been asking for a function to crop an image(blob).
      (So I could kind of replicate the toImage method on my new larger
      image) Again, more staring at code (and a beer) and I've even
      managed to make a useful function to do it!</p>
      <p>Not bad, for a non-ObjectiveC programmer, if I do say so myself!
      )</p>
      <p>Here it is:</p>
      <p><a href=
      "http://developer.appcelerator.com/helpdesk/view/48581">http://developer.appcelerator.com/helpdesk/view/48581</a></p>
      <p>Hope this helps.<br>
      I'm already finding it very useful. </p>
      <p>So, this isn't really a support ticket, but I think it would be
      cool to see it do in to Titanium in the future.</p>
      <p>Cheers,<br>
      Kosso</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              kosso kosso
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1808
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code