Big gif files x multiple gifs files

Hi,
I have a question about performance:
Is it better to have a big gif file with all tiles, sprites, and all other graphics resource for a game? Or is better to have for example: a medium gif file holding all tiles, a gif file for each sprite?
In my opinion the second way is better, because I think that a big gif file is difficult to handle because I will have to crop individual tiles and frames for the sprite animation and the image gets a messy.
But anyway I just wanna heard your opiniions about this issue.
Tks

It totally depends on the number of colors in your images.
Remeber a GIF is limited to 256 colors, if you need more than this you will obviously have to split your tiles & animation frames across multiple gifs.
Ofcourse, the better solution is to use PNGs.
There is also the consideration of acceleration - large images will not be cached in vram, if you look at the assets of commercial titles, you will find the best size to go for is either 256x256 or 512x512.
You should perform the cropping as you render the images, as it will be no slower than precropping them, and will take a good deal less vram. (a 20x20 image when cached in vram will be expanded to 32x32)

Similar Messages

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Creating IPA file with Multiple SWF files using ADT

    Iam successfully able to create ipa files using the ADT package but my next requirement is to create an IPA file with multiple swf files.I think it might be easy if your SWF files are regular the tough part is my swf file has lot of action script in it so the only option is to through the command prompt and using the ADT package of Adobe AIR.So now i have 10 SWF files like this and iam creating ipa file for each swf seperatly but now I want to put all of the swf files into one ipa file.Please let me know if i was not clear in my description

    I think you are trying to explain how to load two swf's one with action
    script and loading an other swf file which should be non action script.If
    you read my requirement carefully.I have all the same type of swf's and
    these swf are automatically created as a form of output for xcelsius dash
    board software.Iam capable of creating individialu ipa files from these swf
    files.So when I try to combine the same kind of swf files the first error
    its giving is the file name which I have used in the xml.in the main file
    name for the swf file its not considering the two swf file name in the
    initial window.so the adt package in the command line is not understanding
    the file name from the xml and the command prompt and giving error this swf
    file does not exist.So please consider how to combine two swf files with AS3
    into one ipa file.These swf files are not editable,Let me know if you find
    any idea to achieve this

  • Validate a XML file against multiple schema files

    Hello everybody!
    How can I validate a XML file against multiple schema files?
    I have the following XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <bulkCmConfigDataFile xmlns:es="SpecificAttributes.3.0.xsd"
                             xmlns:xn="genericNrm.xsd"
    xmlns="configData.xsd">
    <fileHeader fileFormatVersion="32.615 V4.2" vendorName=""/>
    <configData dnPrefix="Undefined">
    <xn:SubNetwork id="3G">
    <xn:SubNetwork id="RNC01">
    <xn:MeContext id="RNC01">
    <xn:VsDataContainer id="RNC01">
    <xn:attributes>
    <xn:vsDataType>vsDataMeContext</xn:vsDataType>
    <xn:vsDataFormatVersion>SpecificAttributes.3.0</xn:vsDataFormatVersion>
    <es:vsDataMeContext>
    <es:userLabel>RNC01</es:userLabel>
    <es:ipAddress>172.21.3.17</es:ipAddress>
    <es:neMIMversion>vF.5.0</es:neMIMversion>
    </es:vsDataMeContext>
                                  </xn:attributes>
    </xn:VsDataContainer>
    </xn:MeContext>
    </xn:SubNetwork>
    </xn:SubNetwork>
    </configData>
    <fileFooter dateTime="2006-11-24T11:56:07Z"/>
    </bulkCmConfigDataFile>
    I want to load this file into a table, validate it (against SpecificAttributes.3.0.xsd, genericNrm.xsd and configData.xsd) and query that table. How would the INSERT .. and the SELECT ... for userLabel attribute look like?
    Many thanks!

    Hi Peter,
    Please use the validateXML BPEL Property : This property validates incoming and outgoing XML documents. If set to true, the Oracle BPEL Process Manager applies schema validation for incoming and outgoing XML documents. This property is applicable to both durable and transient processes. The default value is false.
    Cheers
    A

  • HT201066 How can I split a long recording audio file into multiple audio files?

    Hi,
    How can I split a long recording audio file into multiple audio files?
    With Windows I was using Nero software, which is not available for Mac. Is there any similar app for free for Mac?
    Thanks!

    Hello ingiorgio
    You can import the track into GarageBand and then split the tracks there. Once that it is done you can highlight the ruler section and then share the song to iTunes to get them separated out. 
    GarageBand - Split regions in the Tracks area
    http://help.apple.com/garageband/mac/10.0/#gbnd76fcce04
    GarageBand - Share songs to iTunes
    http://help.apple.com/garageband/mac/10.0/#gbndfb96a96f
    Regards,
    -Norm G.

  • Split MP3 file into multiple MP3 files

    I've been through the help section and is till cant seem to figure out how to split a large (2 hour) mp3 file into multiple mp3 files.
    I have a 2 hour MP3 recording (Stereo not mono), and I have added markers (by simply pressing keyboard shortcut 'M' to add marker), but now I would like to know how to split that one mp3 files into multiple files from the markers which I have made...
    All my marker types are "Cue" when i pressed 'M' at the locations I want the track to end/start

    You didn't say which version of the program you're using, but in general, there is a way to do this by adding one additional cue at the very end of the file, then "merging" the cues (which converts the space between each cue into a "range"), and batch processing each range out to a separate file.  (Make sure there's a cue at the beginning of the file, or at least the first material you want in a new file.)
    Now that you've done all that work, I'm going to tell you that what you're doing is probably a bad idea.  Opening any mp3 in Audition and resaving back to mp3 means you've doubled the losses and distortion inherent with the mp3 compression.  Audition can't do lossless editing of mp3s.  The bottom line: are you really splitting the file, and does the result have to be mp3 format?  If saving to a (wave file, or any other lossless format, then what I'm saying doesn't matter.
    In any case, "mp3 Direct Cut" is a terrific freeware program that does lossless mp3 editing, and I'd highly recommend you try it.  It's saved my neck a number of times.  See http://www.mpesch3.de.

  • 1 xml file to multiple xml files with 200 records in each

    Hello Experts,
    I have below scenario.
    Please suggest me which might be the best approch to work on.
    1) XML file to XML file
    I will have 1 pretty huge XML file which i need to break in multiple XML files with 200 records each.
      1) first approch i can have bpm in which i can split the file according to my requirement.
      2) Second approch i can create 2 scenarios in which 1st scenario will pick up XML file and create multiple flat files with File content conversion. Second scenario will pick up all these flat files and create XML files.
    2) XML file to XML file
    Or i can have multiple files with 1 record per file and i need to merge in multiple XML files with 200 records in each.
    So its kind of 1:N or M:N scenarios.
    Please tell me which is might be better performance and design wise.
    Or if you have any idea in any other way i can do this, then please reply as soon as possbile.
    Please tell me if you have OS command for the same or some script to run or anything which i can implement.
    Thanks,
    Hetal

    what is your senario? is it File to File?
    You can use multi mapping concept without BPM. You can handle the 200 records per message logic in the multimapping.
    Regards,
    Praveen Gujjeti.

  • How to Split Master File into Multiple Small Files?

    Sorry if this has been addressed - I'm having a hard time finding the answer.
    I'm using FCE 4.0. I taped 4 hours of material and need to deliver the footage to someone in discrete chunks. I tried to do in/out capture but for some reason that wasn't working - something to do with the timecode. So I did full tape dumps.
    So now I have 4 huge files (4 miniDV tapes) that are too big to deliver as-is. I used DV Start/Stop Detect to set markers, then used that to create sub-clips. But of course this doesn't actually affect the master scratch files.
    What's the best way to convert these sub-clips to individual mov files? If I do an export of each file ("Using QuickTime Conversion..."), don't I risk losing information or possibly quality? Isn't there some way to highlight all my sub-clips in the bin and say "Mega-Chop Activate!" or something?
    Or, taking a step or two back, if there's another way I should've approached this, please let me know. There'll be more. Plenty more.
    Thank you.

    I'm burning mov source to DVD for FC editing by someone else.
    Your second set of questions actually gives me some ideas - that's exactly what I'm trying to figure out.
    As an example, let's say 1 tape, i.e. 1 master file, holds 5 interviews. I want to deliver 5 individual files/clips, say 3 on DVD A, 2 on DVD B. (Assume for the sake of argument that the math works out and there's no other way to deliver this.)
    - Does creating a different project for each "chunk" result in a different file in the scratch folder that can be burned to DVD?
    - Does "Print to Video" create QT files? I thought this output back onto tape.
    - By "Export to QuickTime" are you referring to Export->QuickTime Movie (as opposed to Export->Using QuickTime Conversion)?
    - Does Export->QuickTime Movie result in lossy conversion or does it automatically retain the original capture quality?
    - Is there a way to do all 5 exports at once or must they be done individually?
    Thanks for the fast response!

  • Urgent: How to break pdf output file in multiple pdf files without bursting

    Hi all,
    I am developing a rtf template which will take a xml file which contains data for many employees. Now the requirement is to create a individual pdf file for each user. I know that it can be done through Oracle bi publisher's interface through bursting but we don't have that option. We have to do it at template level.
    Right now my template produces report for multiple employees on a new page.
    <?for-each-group@section:row;./USERS_SYS_ID?><?split-by-page-break:?>
    <?end for-each-group?>
    Is there any method like <?split-by-file-break:?> by which each employee report can be started in a new output file.
    Thanks and Regards,

    Thanks, George!
    I will try your suggestion.
    While waiting for a response, I ran into another problem:
    Some of the PDF documents I am to work from are "protected," meaning I can read them but not extract any pages or click to add them to a list of files to import...but I need to extract some or all pages from it.  Any suggestions on this?
    Thanks!

  • Break .mov file into multiple jpeg files

    Hello all,
    I've already put together a program that jams multiple jpegs into a .mov file, but is it possible to do the same thing in reverse?
    I have a .mov file captured from a camera. I need to decompose it into a ton of jpegs.
    the purpose is that I have a real-world video file of an event occuring. I have a computer simulation of the same event. I want to overlay the two into a single video.
    My basic plan was to decompose the real-world .mov file into jpegs, then take each individual jpeg and draw my simulation stuff on top of it. Then I would combine it all back together into a movie again.
    Another possibility...somehow use processors? I'm not sure how to do all that and I think this solution is simpler if I can somehow figure out how to split the file.
    Thanks for you input.

    [email protected] wrote:
    sigh
    I just finished doing it with Robot. It worked, it even has the proper number of frames, but I fear some of them were indeed duplicated/dropped.Okay. Now run Crysis in the background and and run your program... ;-)
    captfoss...how did you ever become so knowledgeable? Is it your job to answer these forums?
    I'm just very impressed, is all.About a year ago, I thought up the idea of creating a web site where musicians / music fans could go, create a chatroom, and pay music for people live over the net. Through the course of research, I found out that the only 2 ways of doing an application like that were JMF or Adobe Flex/Flash... Seeing as how I'm a Java coder by profession (and hate Flash applications), the choice of which to go with was easy...
    And then I realized that JMF is, on the surface, quite complicated and while these Sun forums are full of experts on just about everything else, there weren't really any JMF experts. So I sat down, went through the JMF example code peice by peice, wrote out the components, figured out what each one did, and I wrote my application from scratch. I wanted to make sure I understood my app, of course, and wasn't just throwing out something "that worked" because, well, all those years of college told me that's a bad plan.
    Anyway, I figured out the nuts and bolts of my project, and then just started trying to answer the questions on this forum that were going unanswered...and that's how I become so knowledgable, because with something like JMF, whenever you work with someone, a lot of times you learn nearly as much as they do.
    Plus, I most just like helping people and JMF had a giant opening for a resident expert...
    :-)

  • Sharing static files across multiple WAR files in a single EAR

     

    Is there also a way to share the Session across multiple WARs in the
    same EAR ??
    TIA
    Nikhil.
    Vinod Mehra wrote:
    Yes, we have Virtual Directories for this in 7.0.
    http://edocs.bea.com/wls/docs70/webapp/weblogic_xml.html#1031951
    --Vinod.
    "Sam Smith" <[email protected]> wrote in message
    news:3d3f47cf$[email protected]..
    Hi,
    I have multiple web apps to be deployed to an intranet. I need to have acommon
    look and feel for these multiple webapps.
    I could place the webapps in a single ear file or deploy them without aear file.
    I wanted to know if there is any standard way to include static files likeimages,
    javascripts and css files (for a common look and feel) across multiple warfiles.
    Right now I am planning to keep a war file which just contains all thestatic
    files and point all the jsp pages in the other apps to the static files inthis
    common app. Is there a better way to go about this.
    Thanks,
    Sam

  • How can I create multiple PDF files from multiple InDesign files?

    I have 144 InDesign files that I need to create a PDF file for each. I do not want to open each InDesign file to create the PDF's. Acrobat Batch create won't open the InDesign files. Is there another way?

    Only InDesign can do this. You may want to look at InDesign automation.

  • How to split Large file into Multiple small files..

    Hi,
       My source file is simple  XML structure...and target side also i need to send in XML files  .. but in the source file I'm getting all the data at a time.. so source file  is more than 1000 records.. but i want to process  50 records at a time...
    bu using FCC (RecordSet per Message)  we can   solve this.. but I dont want to  do any File conversion.. i want to send  in XML file only...
    for this.. how we can handle....
    Regards
    Jain

    Jain,
    Please see the below screenshots.
    http://www.flickr.com/photos/23855877@N07/2991137391/sizes/o/
    http://www.flickr.com/photos/23855877@N07/2991137441/sizes/o/
    http://www.flickr.com/photos/23855877@N07/2991988028/sizes/o/
    http://www.flickr.com/photos/23855877@N07/2991988084/sizes/o/
    For No, Name, City Map Directly.
    In the example, I've given 5 records to split. If you want 50 records to split, then instead of 5 give 50 in the constant.
    raj.

  • File bc: Multiple input files in one folder

    I am working on an integration project, which includes five BPEL processes. These processes are intiated whenever a file is copies in a given folder. The input-filename-pattern for these bpel processes are different (say, input1_%d.txt, input2_%d.txt etc.). But, these files are present in one single folder.
    To implement it, we created one more bpel process, which was bound to file-bc. The first activity in this process is a 'pick' activity. Five operations were defined corresponding to each input-file (name pattern and schema) in the WSDL under single port-type. And, the port-type was bound to the folder where all messages are received. For all five operations, polling interval was defined as 1000 ms.
    For pick activitiy, five 'onMessage' node was created for each operation, which invoked the corresponding (one of five) BPEL process.
    We tested this solution, and it worked. The solution was able to pick five types of input files and invoke the bpel-processes.
    However, the system log of glassfish contains a number of exception error messages. To me, it looks like that all five operations are trying to get the lock on the folder at the same time and this exception is thrown. Though, it does not create any problem in execution of the process, it is a headache for the system administrator.
    Is there any way to control these specific error messages, so that these are not sent to the system log?
    The error message in they system-log is:
    [#|2007-12-21T22:21:40.602-0500|SEVERE|sun-appserver9.1|sun-file-binding.com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=32;_ThreadName=filebc-ib-Thread-47;_RequestID=15c6d2fe-59e4-4f4f-970f-d13d5d7024ea;|FILBC-IMP0001: inonly message for operation {http://www.servicelive.com/wsdl/HPServiceOrder}AcceptCancelOrder failed processing, an exception was raised. null
    java.lang.IllegalMonitorStateException
         at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1102)
         at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
         at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:343)
         at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:184)
         at java.lang.Thread.run(Thread.java:595)
    |#]
    [#|2007-12-21T22:21:41.602-0500|SEVERE|sun-appserver9.1|sun-file-binding.com.sun.jbi.filebc.InboundMessageProcessor|_ThreadID=32;_ThreadName=filebc-ib-Thread-47;_RequestID=15c6d2fe-59e4-4f4f-970f-d13d5d7024ea;|FILBC-IMP0001: inonly message for operation {http://www.servicelive.com/wsdl/HPServiceOrder}AcceptCancelOrder failed processing, an exception was raised. null
    java.lang.IllegalMonitorStateException
         at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
         at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1102)
         at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
         at com.sun.jbi.filebc.InboundMessageProcessor.execute(InboundMessageProcessor.java:343)
         at com.sun.jbi.filebc.InboundMessageProcessor.run(InboundMessageProcessor.java:184)
         at java.lang.Thread.run(Thread.java:595)
    |#]
    Thanks,
    Sanjay

    Sanjay,
    Most of the folks that would normally reply are on winter holiday break, so there would be a delay in response. In the mean time, I would really appreciate if you log this as a bug at http://open-jbi-components.dev.java.net. You need to join as an observer to log this bug. You may also want to subscribe to [email protected] and start posting questions there so that you get a fast response from the Open ESB dev team. FYI, Open JBI Components is a sub project of Open ESB and the dev alias at Open ESB is very active.
    Suresh

  • Using 1 incopy file in multiple indesign files

    Alright, here’s my situation.
    At my company we provide e-learning for the medical industry. As marketing products we use printed brochures, flyers and give-away course overviews.
    These products all have simular information except for some small details.
    For example…
    Brochures have:
    - course category
    - course title
    - course author
    - course register icons
    Flyers have:
    - course category
    - course title
    - course author
    Give-away course overviews have (see image below):
    - course category
    - course title
    - course author
    - course register icons
    - course points
    The register icons are small shapes and these shapes together with the points (ptn) and authors are placed in a table to align them.
    I'm now using 1 Incopy file for all these products in a not very ideal way.
    The way I use incopy is the following:
    create/update the incopy file with all details
    update linked files in indesign
    detach linked files and remove unneeded details for each specific product
    export
    Because the usages of tables step 3 is a lot of work for me.
    We want to hand over the updating of the incopy files to our editors, but for our editors the tables and shapes aren’t easy to create in incopy.
    Now I was thinking of linking all paragraphs in separate text-containers and place the unwanted details outside the visible area in indesign, but this is a pain to do aswell.
    I would like to know what other techniques I can use.
    Is there a way to specify what paragraph from incopy I want to use in my indesign document?
    Thanks in advance!

    Tables ain't the problem. It's the shapes inside the tables. These shapes are the register symbols. There are about 20 unique icons. Now that I am going to use conditional text they just have to copy paste them. I'm going to make 3 different tables inside one InCopy file with the 3 different table-layouts and show/hide them with conditions:
    Thanks for all the help!

Maybe you are looking for

  • Imac 27" purchased in summer 2012 as monitor

    I'm looking to use my 27" imac purchased in summer of 2012 as a monitor to run some windows based applicatons on the imac screen. My Gateway pc does not have a fire wire, but has HDMI. I was wondering if I buy a cable with an HDMI to Firewire cable w

  • SNP quota arrangement with fixed lot size

    Hi all, i have a question regarding quota arrangement for external procurement in snp heuristic. Whe have 2 sources of suppy created by info record. The quota is 25% for the first and 75% for the second one. In product master there is maintained a fi

  • VCal option grayed out for exporting

    I am new to this palm thing and I have an E2. Last week when I set it up I was able to export my palm calendar as a vCal file and now that option isn't avail.  I can't seem to export my palm calendar to my Microsoft Works calendar.  I can export from

  • Google Contact / Address Book Sync

    Google Contact / Address Book Sync is not working for me and I have an iPhone and Leopard, which I thought were the only requirements. I was able to sync my Address Book contacts to Google the first time around, but when I add a new contact to either

  • Photoshop elements 4.0 Programm - blockiert wg. "Problem"

    Beim Durchblättern des Katalogs blockiert das Programm immer etwa an der gleichen Stell mit dem Text "Adobe Photoshop hat ein Problem festgestellt und muß geschlossen werden. Fehlercode: c 0000005 Adresse: 1f8d1d4" Was tun?