Here is a function that retrieves the size of an image directly into the file. We just have to pass the file and its type parameter and return the size of the image as « Rectangle ». //—————————————————————————————————— // AS3/AIR Extract Image size on file // V 1.0 //—————————————————————————————————— public function GetImageSize(ImageFile : File, Type : String) [...]
Here is a function wich check if a file is an image or not. The file type is determined following the signing of the header. //—————————————————————————————————— // AS3/AIR Image detection with unknow file type extention. // V 1.0 //—————————————————————————————————— public function GetImageFileType(TestFile : File) : String { var extention : String = ""; var Bytes [...]
Continue reading about AS3 – Image detection with unknow file type extention. »
After developing LinkLite for iPhone, I decided to share with you my experience in this area by publishing the Objective-c class used to draw a pie chart. This time I would not give you that code snippets to make a pie chart, this being due to the specificity of the goal. A view of result [...]
Continue reading about Objective-C : Draw a Pie Chart with iPhone / iPod / iPad »
Tags: Class, iPhone, Objective-c
Some time ago, I began to do an advanced image editor to organize and eliminate all duplicate images that might exist from my hard drive. The result is that AIR application with comparing and grouping similar image algorithm, for freeing the place that I miss so much. This application has a lot of options, which [...]
Continue reading about WhatYouTake : Similarity Image Reconition AIR Application »
Here is one of the first applications that we had done in Flex – AIR, in order to test its possibilities. WhatYouSee is a Wysiwyg editor (What You See Is What You Get!) to generate a PDF file. This application also have an image editor. This application uses largely an excellent AS3 class developed by [...]
Tags: AIR, Application, AS3, Code, FLEX
Here is one of the first applications that we made in Flex – AIR, in order to test its possibilities. MagicToolbox, is a management interface for plugins, specifically it use AS3 « IModuleInterface » for module communication. Some screenshots: It would take too long to explain the principle in detail, however small diagram below gives you an [...]
Continue reading about MagicToolbox, AIR-AS3 plugins manager. »
Tags: AIR, Application, AS3, Code, FLEX
Some time ago, I began to develop an http server providing catch graphic web page. Not having had the benefit of these programs, I decided to post on this blog, hoping that this work will help you. This is a first draft functional, but nevertheless deserves to be better, so if you have any updates, [...]
Continue reading about Windows Server for graphic web page capture. »
After developing a translation of LinkLite for Android, I decided to share with you my experience in this area by publishing the java class used to draw a graph (pie chart). This article is the second of a two-part series on this subject. The first dealing with the java class to draw a line chart. [...]
Continue reading about Java : Draw a Pie Chart with Android »
After developing a translation of LinkLITE for Android, I decided to share with you my experience in this area by publishing the java class used to draw a graph (line). This article is the first of a series of two on this subject. The second deal, the java class to draw a pie graph, following [...]
Continue reading about Java : Draw a Line Chart with Android »
There are some time ago, we have developed an AS3-AIR class, for reading and writing Windows bitmap file. MswBMPCodec.as Class file content : package msw.asBitmap { import flash.display.BitmapData; import flash.filesystem.File; import flash.filesystem.FileMode; import flash.filesystem.FileStream; import flash.utils.ByteArray; import flash.utils.Endian; public class MswBMPCodec { private const MASK : int = 0xFF; public var FileData : Object; //**************************************************** [...]