Bitmap Assets Question

hey everyone,
I've been developing an app for iPhone, and have been using the standard resolution as a base for my app.
Using bitmaps works perfect on Standard resolution. But when I port it over with High resolution settings, the iPhone 4 seems to be encountering some major lag issues, I suspect it's due to the double-pixelation to scale up the app to fit the iPhone 4's resolution.
I was wondering, would it be wise to create all my bitmap assets base on the iPhone 4's retina display and then scale it down? Or is there another way in handling the multiple screen support.
My theory is by creating my bitmap assets basing on Iphone's 640 x 960 resolution, when it comes to up-scaling, instead of double pixelation, iPhone 4 would instead stretch the image back to it's original size.
I had a read through http://www.adobe.com/devnet/air/articles/multiple-screen-sizes.html
But doesn't seem to be much of a help with interms of graphics usage.
Hopefully you guys can clear things up for this newbie here.
Thanks!

Hi,
I see no points you have to have a bitmap index on this column if you are having just one bitmap index for this table. Are other columns also a good candidate for bitmap index?
For such a small record 20,000 per year (Assuming size of each row is normal) and with four distinct values, I doubt you would gain any performance benefit between full table scan and bitmap scan.
Even with 20,000 rows and four distinct values and are populated at a same time you can create a b tree index on it such that the clustering factor is very low. Still it would not give much benefit.
And if most searches would be running against this table, I see it as a good candidate for keep bool in buffer cache.
Regards
Anurag

Similar Messages

  • Save to .xfl doesn't include bitmap assets in the library

    Hi,
    Just wondering if there's a fix for this or if it's a bug. When I save to .xfl format the bitmap assets aren't being saved into the library. They have been saved into the library in previous versions of the .fla. For some odd reason it just stopped working.
    Thanks

    Actually I should add that none of the assets in the library are being saved - bitmaps, graphics, etc.

  • Bitmap Index Question

    I have a star schema database setup with a bunch of definition tables with 2-10 values in each. Most things I read say to use bitmap only in data warehousing, but in the same breath talk about tables exactly like I have them set up. So my question is, do bitmap indexes ever have a use outside of data warehouse? We don't do millions of transactions on hr, but it is an asset management front end run using php. So the main data tables is getting updated, inserted, and deleted during the day. I'd say on average we have about 30 users at any given time performing actions on the tables or pulling reports.
    On side note, but still related to indexes, is it better to have the indexes stored in different tablespace from the tables? If so, what is its effect?
    Thanks in advance.
    Setup:
    Oracle 11g running on Ubuntu 9.10 64bit

    ChaosAD wrote:
    I have a star schema database setup with a bunch of definition tables with 2-10 values in each. Most things I read say to use bitmap only in data warehousing, but in the same breath talk about tables exactly like I have them set up. So my question is, do bitmap indexes ever have a use outside of data warehouse? We don't do millions of transactions on hr, but it is an asset management front end run using php. So the main data tables is getting updated, inserted, and deleted during the day. I'd say on average we have about 30 users at any given time performing actions on the tables or pulling reports.
    Having STAR schema design for a transactional processing application seems bit strange (but what do I know...).
    Have you verified/validated that you definitely need bitmap indexes and B*Tree indexes will not serve the purpose? Just because it is a STAR schema does not necessarily mean one has to have bitmap indexes.
    If you expect 30 users (on average) to concurrently modify the data, I believe bitmap indexes is not the right choice as the DML actions will suffer from contention. Bitmap indexes negatively affect the concurrent multiple transactions.
    Rafi has answered your second question.

  • NTSC vs. PAL: asset question

    Hoping this will be a trivial question for someone, since my DSP 4 documentation doesn't seem to have much to say about it...
    I'm planning to produce a series of DVDs whose content will consist of a large number of video assets (2000+). Currently, these assets are in NTSC MPEG-2 format, with corresponding audio assets in either AC3 or AIFF. My question is: what do I need to do in order to produce a complimentary series of PAL DVDs with this content, given that DSP doesn't appear capable of importing NTSC video assets into PAL projects directly?
    Now that I'm on an Intel-based machine, I've sent in my upgrade fee for the latest version of Final Cut Studio (which of course includes DSP), so I'll have that at my disposal. Does this software provide a batch-friendly means for me to do what I'm attempting, or do I need additional tools?
    TIA for any advice.
    PowerBook G4   Mac OS X (10.4.8)  

    You will need to convert NTSC assets to PAL assets to do it properly (including menus). Compressor does conversion and there is also other software, such as www.Nattress.com, which does conversion.
    The quickest (but may not be best) is to run the assets in bulk through Compressor (but this will also depend on whether you have the Final Cut files still).
    2,000 video files is daunting, so try to stay as organized as possible
    Also as an aside, more people who use PAL (ex-U.S.) have the ability to play NTSC as compared to the U.S. which is more NTSC centric, so you may want to keep that in mind depending on the project, the audience and whether you will need a PAL version.

  • Basic Asset Questions

    1. Is there any difference from importing an asset by dragging it onto the Asset palette or by choosing Import Asset?
    2. Do assets that are not included in the final DVD contribute to the burnt DVD's
    files size?
    Thanks.

    Unless I'm not reading you right, the answer to both questions is no - no difference in importing methods and, if not included on the DVD, they do not add to built DVD's size.

  • DVD Studio Pro Asset Question

    I have been rendering out to .mov files using QuickTime conversion out of Final Cut Pro. However, each time I try to import this .mov file as an asset in DVD Studio Pro it gives me an error stating incompatible format. How do I need to be rendering out of Final Cut so that it is an acceptable file format for DVD Studio Pro?

    Why are you doing a QT conversion?
    And what you converting to?
    h.264? Won't work.
    Export QT/Current Settings/Audio and Video/Self contained and use compressor to go to m2v and dolby 2

  • Asset question

    Hey Guys,
    we recently did an upgrade to 6.0 and in tcode OAYR i dont see the check box of assign cost center so that when i run depreciation the cost center is pulled from the asset master.
    i see this check box in 4.6, i was wondering if i missed some config in 6.0  or its due to the upgrade?
    how do i get the cost center to default  from the asset master in the depreciation document?
    Please advice

    hi Zaid,
    pls. check the following customizing steps:
    Financaial Accounting
    Asset Accounting
    Integration with G/L
    Additional Account Assignment Objects
    pls. check the steps under this.
    ec

  • InDesign and Applescript - Another place asset question.

    I am trying to place an asset on page but am having some problems.  If I have an asset in my library and it has a few items in like a couple text boxes and images and they are grouped together, it places fine but then I have a problem with trying to change styles for any individual items withing that asset because seems to treat group as item 1 of that asset and can't seem to get to reference individual items of asset that has grouped items.  Tried things like "item 1 of placed asset" but treats that like group which is good for move but not when wanting to reference individual items.  When I create placed asset with all individual items ungrouped then it does allow me to apply styles on individual items but then can't move everything to location as a group so allignment all stays correct.  Thinking that maybe I could either ungroup all items in first scenerio after moving then apply styles but not sure how to refernence that group and then the items within that group when ungrouped.  Or, doing second scenerio where load asset ungrouped then apply styles then group and move but since number of items in assets can be different, not sure how to dynamically create group using repeat or something?  Thanks, Joe
                 repeat with i from 1 to count csvEntries
                        set csvEntry to csvEntries's item i
                        set {fldElement, fldLocationX, fldLocationY} to csvEntry's text items
                        set placedAsset to place asset asset fldElement of library "GTElements.indl" on myDocument
                            move placedAsset to {fldLocationX, fldLocationY}
                        -- apply styles to individual items os asset
                        -- Then, can I create group dynamically for all items in asset if ungrouped?
                        -- set myGroup to make group with properties {group items:{ placedAsset}}???
                        -- then move group to location?
                        -- Or
                        -- can I ungroup asset if comes in already with all items grouped
                        - First, move to location everything as a group then ungroup
                        --    tell placedAsset
                        --           ungroup
                        --    end tell
                        -- Now apply styles to individual items.   

    I was working on script which uses dialog window. When you run script window with listbox pop up and than you can choose asset with shortcut. This is fastes way for placeing assets from library.
    Did you try this
    var myplacedasset=app.libraries[libIndex].assets.item(assetName).placeAsset(app.activeDocumen t);
    Do what you want to do (apply object syles etc)
    app.select(myplacedasset);
    In this case you don't need to group item, you just select them and move selection to desired position.

  • Viewr Builder - banner assets question 2

    Building an update to our current free app this time with Entitlment and itunes subs via a DPS Enterprise account.  We are using the "optional library subscription tile url" with our tiles to point at our subscription service and it feels like this is enough.  the banner seems excesive but is not optional its compulsory - do we really need both and can I avoid having to create the banner assets but still complete the app builder process?

    You need to create an entitlement app in order to add a banner. I haven't tried creating an entitlement app that's entirely free with no subscription. I don't think it would be worth the effort. I think a better approach is to create a multi-folio app with a custom library. Then you can build your banner into the custom library. See the DPS Developer site for details.

  • Using the Assets panel [was: The most basic stupid question on here]

    I am very new to web design, self taught on sites like GoDaddy and Microsoft Office Live, but there's no access to root directory and adding affiliate banners won't work. So here I am. Problem #1 so far is how do I get stuff into my assets. I've messed around for a while w/ no success. It can't be that hard. Someone out there please give this "newbie" the instructions for getting text, images and stuff from my computer into the assets box on Dreamweaver. I'll have nightmares about "dreamweaver" till I get this figured out.  Thanks a million in advance for answering such a basic (almost stupid) question

    There are no stupid questions around here, but a more descriptive subject heading would be appreciated in the future.  "Assets Question"
    Define a Local Site folder In Dreamweaver.  Without this critical first step, DW cannot manage assets for you.
    Start by working through this tutorial.  Lots of good info.
    Creating your First Website in DW C4 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Noise problem with moving bitmaps

    I'm having trouble with the most recent Flash player
    (9,0,45,0). When
    displaying moving bitmaps, the player sometimes shows
    horizontal noise
    lines across the image. This doesn't happen on all platforms,
    but it
    does happen on my customers', so I've got to figure it out.
    It happens in the OS X Flash 9.0 IDE, but not on the same
    machine within
    a browser. It happens on some Windows machines, but not
    others. It only
    happens with bitmaps; if I trace the bitmap into shapes then
    the problem
    goes away (no, that's not an option for my application). The
    format of
    the imported bitmap doesn't matter, nor does whether it is
    being moved
    with a motion tween or ActionScript. Updating to the latest
    Flash player
    reduced the effect for my customer, but not completely.
    I've made a web page that has the live applet (so you can see
    if it
    happens on your system), the applet source, and a screen shot
    of the
    noise effect (when played within the Flash 9.0 IDE). Note
    that it took
    me about fifty tries to get that screen shot, but while the
    applet is
    running the noise is quite easy to see since it's so sharp.
    You can find
    the page here:
    <
    http://www.suitable.com/temp/ScratchTest/>
    Any and all suggestions welcome.
    Thanks,
    Dan
    Daniel T. Griscom [email protected]
    Suitable Systems
    http://www.suitable.com/
    1 Centre Street, Suite 204 (781) 665-0053
    Wakefield, MA 01880-2400

    In article <f2chss$g92$[email protected]>,
    "Rothrock" <[email protected]> wrote:
    > I'm seeing it in some of my projects as well. I seem to
    recall that when
    > previous versions of Flash came out there was a similar
    problem and then it
    > went away quietly. Of course I could just be losing my
    mind?
    Excellent!!! (Well, not excellent that the problem exists,
    nor that
    you're inflicted by it, but that it's at least duplicatable.
    It gives me
    hope that it will be fixed.)
    > I'm not even drawing the BitmapData to screen ? this is
    using CS3,
    > publishing for Flash 8 and AS2, but played back in the 9
    player.
    I'm not even using a BitmapData; I'm just moving a Bitmap
    asset across
    the stage. No ActionScript involved.
    It's clear to me that this is a Macromedia/Adobe bug. I've
    posted a
    report on the Adobe Feature Request/Bug Report form at
    <
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform>.
    Please:
    everyone who is experiencing this problem do the same.
    Daniel T. Griscom [email protected]
    Suitable Systems
    http://www.suitable.com/
    1 Centre Street, Suite 204 (781) 665-0053
    Wakefield, MA 01880-2400

  • Runtime asset loading - best practice

    Hello,
    I'm creating my first mobile air app, to start with it's going to be on ios then I hope to launch on Android and other platforms. I'm wondering is it a good idea to load my bitmap assets during runtime as and when I need them or is it advised to load them all at once upfront and store in memory?
    I guess obviously it's going to depend on how many, how big, whether items are reused etc but would be great to get an overview of other peoples general approach.
    Thanks is advance!

    If your object pooling (creating assets up from before game play), I don't think there is any performance gain from embedding or loading a bitmap from an external source, with the exception of file size if your loading tons of bitmaps and dont want to package them with the application. I could be wrong though!!!
    In my opinion, once you create a new bitmap instance, and its on the display list or ready to be used, it shouldn't matter how you had retrieved it..( i think)
    Depending on what your doing, you may want to load your bitmaps first to store in memory (create a pool)...  if they are going to be used soon enough that is.
    for example if you have a mario brothers type game with character and recyclable enemy's,coins,terrain pieces... I would recommend to create them all at the start of the level. You don't want to be creating new...() instances during game play, but do you want EVERYTHING in the app created up front? most likely not.
    My personal "technique" is to pool all my game objects up front. If the user goes into the game menu, i am often creating new instances/bitmaps at that time, then calling dispose() and setting things to null when the leave the menu to attempt to save memory.
    Message was edited by: boat5 // spelling

  • General AE vs Flash question

    From any moderator or AE pro's experience would anyone be able to tell if the following video was done in AE, similar or Flash.
    I say this animation is too heavy for Flash would you agree?
    I'm arguing with a client who says this animation can be done in Flash.
    Anybody
    link is here.
    http://www.youtube.com/watch?v=HsZMxvROR_M&feature=player_embedded#
    rdeset

    All of those bitmapped assets and parallax moves would be extremely cumbersome in Flash. You can drive a nail with a crescent wrench but a hammer works a lot better and is what most carpenters would choose for that task.

  • How to avoid uncompressing bitmapDatas multiple times

    Hi,
    Not sure if this should go here (performance) or IOS section, since I mainly have this issue on iOS but I think its on all air players.
    When a bitmap (for exemple a bitmap in a fla) is added, you can see with Adobe SCOUT (great tool btw!) that it is uncompressed when added. Allright.
    The bad thing is, if it is removed from stage, even if you keep it in memory for reuse, it is very often re-uncompressed when redisplayed. I mean 'often' because it seems erratic. If it stay removed for just a second, most of the time it won't be uncompressed again, but after 3 or more seconds, most of the time it will be (some kind of garbage collector in the "video" memory ?)
    Setting its quality to lossless in the fla helps the decompression goes a bit faster (30-40 % I would say), on the detriment of swf size, but does not solve the main question : how can I force an animation (made of bitmaps for example) to never be uncompressed again as long as I dont tell it to to be "disposed" from wherever this is stored ?
    Having it permanently on screen hidden somewhere is just too much a performance killer to be considered a solution when you have many. CacheAsBitmapMatrix could be usefull for vector data  on this issue (not sure), but drawing a bitmap seems a bit stupid if you do already have bitmaps.
    It might not seem a big issue but in a game with effects etc. most of those will only show up once every 2 to 10 seconds, but if you loose 5ms/frame for 40 frames each time one does, and you have many, it really impact performance on devices like ios etc, whereas memory doesnt seem to be the problem here, it happens with low or high memory usage both.
    If anyone knows a tip, thanks a lot!
    EDIT : Tests made with gpu mode, flash builder 4.7, air 3.5, iPad3 (or other), release build.

    In my experience, the second solution here: actionscript 3 - Bitmaps Being Cached As Bitmaps - Stack Overflow is the one that gave me best results thus far, even when loading a swf (as opposed to a bitmap) which contains bitmaps inside. To avoid this decompressing on the run (on demand) you can instead request flash to decompress it on load. This will increase the load time but improve the perceived performance of the app since a separate thread takes care of the decompressing. This of course means no jitter or skip when the image hits the screen:
    var fileLocation:URLRequest = new URLRequest(levelToLoad);
    levelToLoad = "testLevel.swf";
    var levelLoader:Loader = new Loader();
    var loaderContext:LoaderContext = new LoaderContext();
    loaderContext.imageDecodingPolicy = ImageDecodingPolicy.ON_LOAD;
    levelLoader.load(fileLocation, loaderContext);
    Embedded images (via code) are not supposed to be compressed, so this problem shouldn't occur with applications that do so. However, if you are like me, and you use the Flash Pro IDE to import PNGs or other bitmap assets, Flash Pro compresses them as JPG by default, using the setting provided by the image itself.
    To fix this and avoid these decompression issues, simply go to your Flash Pro asset library, right click on the image you want to change, click on properties and select "lossless / PNG/GIF" as compression. This will increase largely the load time but you will have the much better perceived performance discussed here. This should be done in addition to implementing the code above, or it will make no difference.
    In my experience the frame rate average dropped only by one frame per second, but it's much more consistent without any skips or lags which is essential for games.
    See: http://help.adobe.com/en_US/as3/dev/WS52621785137562065a8e668112d98c8c4df-8000.html
    And
    http://www.bytearray.org/?p=2931

  • What's the best way to mix AIR 14 and the Flex 3.5 SDK and use new AIR features?

    I am returning to development of a popular desktop AIR app, after about 4 years of no code changes. Both AIR and Flex have actively moved forward during my coding absence, and it is time to play catch up.
    When last built, the app was using Flex 3.5 and AIR 2.6.
    End Goal - I want my app to look good on high density displays
    I'd like to keep Flex version at 3.5, but use the newer version of AIR, to render more clearly on high density displays (Retina on OSX and hiDPI on Win8).
    The pixel doubling performed by the "compatibility" modes of OSX.Retina or Win8.hiDPI make my app look pretty gross, and the customer base is starting to complain.
    While I may eventually switch over to the Apache Flex SDK to bring the application design into the current state, my customer base just doesn't care right now. They like the current app, but want it to work, out-of-the-box, on high density displays.
    So I need to limit my scope to changing only the AIR SDK, not the Flex SDK at this time.
    Step 1 - Overlaying AIR14 SDK on Flex 3.5
    I followed the official generic overlay instructions here, and that worked well enough. I named my hybrid SDK folder "3.5.0.AIR14". I have been able to recompile, run, and verify my app using the hybrid SDK. (my app is compiled and packaged from an ant script, using the Antennae framework. I had already switch SDKs a number of times over the initial course of development, so pointing my project to a new SDK was pretty simple enough.
    Step 2 - Updating the app.xml descriptor
    This part was also easy. I used the templates\air\descriptor-template.xml as a starting point, customizing the name, app id, and folders. Now my app descriptor is correctly based on the <application xmlns="http://ns.adobe.com/air/application/14.0"> namespace.
    Step 3 - Enabling Retina/hiDPI support - Help??
    I added <requestedDisplayResolution>high</requestedDisplayResolution> to the <initialWindow> tag of the app descriptor, but that made no difference. The app compiles, installs, and runs, but pixel doubling is still occurring and the app looks gross.
    I also tried setting the SWF version to 25, according to the official overlay guide. This proved to be more difficult. The official overlay guide suggests setting the -swf-version=25 compiler option, but that option is not supported by the Flex 3.5 compiler. So all I had to try was using the legacy -target-player=25 compiler option. That setting was accepted by the compiler, and it produced a SWF with byte offset 0x3 == 0x19 (25 dec), so that appears to be right.
    But -target-player=25 didn't have any effect either.
    Is setting the SWF version even required? Isn't the whole point of using the AIR 14 namespace in the app descriptor the way of telling the compiler "I want to use all features of the AIR 14 release". Why do I need to tell the compiler multiple times to use all the features of the SDK I'm compiling with? It just seems weird to me.
    Have I missed a secret setting somewhere?
    How can I tell the AIR runtime to simply run as pixel-dense as possible? When the workarounds listed below are performed, my app looks fantastic on high-density displays. But its the pixel scaling that is making everything look bad, and I desperately want to get this fixed.
    Workarounds?
    On Windows 8+, we are asking our users to enable the "Disable display scaling on high DPI settings" checkbox on the AIR application shortcut. This works, but is a confusing setting for average users to discover. Most just give up in frustration.
    On OSX, we can't even disable Retina mode on a per-application basis, its all or nothing, so that's even worse. SwitchResX will automatically switch resolutions based on the selected app, but that's a pretty clunky (and non-free) workaround too.
    Any other workaround ideas are appreciated too.
    Cheers,
    Doug

    It took me a while to figure out (without much help from Adobe, grrr!), since some internet writeups were terse and implied somehow that AIR's Retina support (setting your app descriptor's <initialWindow/requestedDisplayResolution> to high) would also work on Windows. They don't.
    On OSX, the steps to disable pixel-doubling are:
    update your app descriptor to AIR 14
    set initialWindow/requestedDisplayResolution = high
    compile with SWF version 25 or greater
    vector assets, including text, will scale automatically
    you'll need to replace your bitmap assets with Retina-quality bitmaps as appropriate
    when running on a Retina display, you will see stage.contentsScaleFactor=2. It will be 1 for non-Retina displays.
    On Windows, the pixel-doubling kicks in when you have a HiDPI scaling set to about 150% or greater (hiDPI scaling was introduced in Win7). There is no way to detect from within an AIR app when Windows is doing its HiDPI scaling. stage.contentsScaleFactor is always 1, under all configurations.
    The only thing you can do for AIR apps on Windows is explicitly disable display scaling (like you have done) and update your app to manually scale all UI elements at runtime (that's really gross and hard, and it what I working on right now).
    For my app, I updated our Windows installer to set the registry to disable hiDPI scaling, for all users, just for our app. Here's how you do that:
    Key = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    Name = <fullPathToYourExe>
    Type = REG_SZ
    Value = "~ HIDPIAWARE" (without the quotes, tilde space HIDPIAWARE)
    That should be set in the full 64-bit registry, not the Wow32Node registry, even if your app is a 32-bit app (which all AIR apps are). If your installer is a 32-bit app (mine was), you may need to jump through some hoops to have it affect the 64-bit registry hive from a 32-bit process.
    If you only want to change the setting for the current user (not all users), the KEY root is HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE.
    If you don't have an explicit installer for your AIR app (ie. if you are deploying from the web via a badge installer), then you're even more messed up, and you will need to tell your users to disable the scaling manually.
    I know, it's a total pain. I hope this helps.
    Cheers,
    Doug
    PS: Adobe devs, if you are listening ...

Maybe you are looking for

  • Mail won't stop fetching, and doesn't find it all

    I'm on Mail 2.1. When Mail goes to check my pop account, it will download the first mail or two and then it just keeps the little circle spinning. When I look at the activity viewer, it says "Fetching new mail" "Fetching 15 of 15 <subject of the emai

  • FL does not exist in current context

    I am having a problem with my code. I have defined "state" as a global variable and the user needs to input one of 3 states. Based on the state chosen, I need to select a tax rate. I wrote an if statement to select the tax rate but, until the user in

  • Select data fields with delimiter

    hi, im new to oracle. I'm working on unix oracle 11g. I need to know the way to fetch records with delimiters. I'd worked with informix before, and thr i use UNLOAD TO <filename> SELECT.... Is there any equivalent one in oracle. I just need the data,

  • Need help setting up a new Usenet/Newsgroup accoun...

    I have recently migrated from Pipex to to BT Total broadband 1.  I use Newzbin/Unison for my Usenet downloads and currently all is working fine using the Pipex server set up.  However as I want to eventually want to move all connections to BT servers

  • Error in forwarding workitem

    Dear experts,         For Purchase requisition release workflow , I am developing custom workflow with 3 level of approval.User decision step is going for first level of approval,If that person he is on leave I need to forward that workitem to next l