Community Questions & Answers

Scale an image without losing resolution

If I have a 1000x1000 png file, and load it into an imageView with the width at 100, can I then scale the image (animate) up ...ie., zoom it up to a larger view without it looking like a pixelated version of the imageView? Basically I am looking to zoom...

Not able to download a proper image

Hi everyone, I am getting a .png file from server . I've downloaded it as given in docs . But i when i set it to imageView , it becomes white. I traced the native path of downloaded image , image is there but when i open it , it gives...

Not Saving Image Flip...

hi all: I'm developing an app where I create a mosaic image by dropping other images on it, then resizing, rotating and flipping those images in order to fit, then using .toImage() to save the rendered view and I'm having a very strange issue: the rotated...

canScale property.......

Hi everyone, i am using titanium after almost one year , and i think there used to be a `canScale ` property for images . But it is not here now. Is there any alternative to that property?

circular images

Hi everyone , i am working on both android and iphone . I've an imageview .On the click of imageview i am giving options to user for selecting image from camera and gallery . What i want is to get a circular image from both.

error base64 image blob iphone

Hello I have a problem in passing base64encode an image taken with the camera in iphone (I generated a text string too long) This is the code, which according to the documentation is very simple (the same code works perfectly on android) ~~~ var myPhoto...

flip an image to display more info

I am wondering if anyone has managed to do the following. I have an image which is shown in view and I want it so when the image is click to rotate the image and show details of the image on the back. I am not sure if this is posable but any advice...

How to expand the image size with keeping ratio.

How to expand the image size with keeping ratio. I would like to keep the image ratio when expanding. I would like to set height 10% of vertical screen size and adjust width according to the percents of expanding. for example ~~~ screen size is 480 *...

Download image from server (php)

Hello) help me please ~~~ var previewImg = Ti.UI.createImageView({ image: 'http://mydomain.com/account/getpreviewimgone', width: '15%', left: '1.5%', defaultImage: '/previewImgEmpty.png' }); ///not working Php: $content =...

Marker on Image

Hi, I am working on the floor plan app of the buildings. I need to put marker on the specified rooms and area of the building. I would like to get the x,y coordinates and place a marker on that point. But I don't know how to achieve that for both iOS and...

Multiple photo upload

Hi ~~~ Titanium.Media.openPhotoGallery({ success : function(event){ if(event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO){ msgImgs.push(event.media); } } }); ~~~ ~~~ client.send({ 'contactsData':...

image from pdf

There is the possibility to cerate an image from a single pdf page (or from total) in iOS? I don't want to open the pdf, I want to know if there is some routine for extract and save one page in image. Thanks

Showing 1-50 of 1,161 1 2 3 4 5 624