CN102455890A - Filmstrip projection system and method - Google Patents

Filmstrip projection system and method Download PDF

Info

Publication number
CN102455890A
CN102455890A CN2010105129063A CN201010512906A CN102455890A CN 102455890 A CN102455890 A CN 102455890A CN 2010105129063 A CN2010105129063 A CN 2010105129063A CN 201010512906 A CN201010512906 A CN 201010512906A CN 102455890 A CN102455890 A CN 102455890A
Authority
CN
China
Prior art keywords
picture
slideshow
module
address
bitmap
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105129063A
Other languages
Chinese (zh)
Inventor
蔡灯宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010105129063A priority Critical patent/CN102455890A/en
Publication of CN102455890A publication Critical patent/CN102455890A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a filmstrip projection system which is applied to an Android platform terminal. The filmstrip projection system comprises a picture address list acquisition module for acquiring a picture address list, a picture reading module for reading a picture according to the picture address list, a picture decoding module for decoding the picture to be a bit map according to an encoding format of the picture, a picture display setting acquisition module for acquiring a picture display setting parameter which comprises a resolution size of a picture display region and a projection effect type, a picture adjusting module for adjusting the resolution size of the bit map according to the resolution size of the picture display region, and a picture display module for displaying the bit map in the picture display region according to the projection effect type. The invention also discloses a filmstrip projection method. According to the system and the method, a user can browse a series of pictures continuously; and various projection effects can be attached.

Description

The slideshow system and method
Technical field
The present invention relates to technical field of image processing, particularly relate to the slideshow system and method in a kind of Android of being applied in platform terminal.
Background technology
Slideshow (Slideshow) is a kind of common demonstration means, be used for showing continuously a series of pictures, and can add various effects, such as window shutter, fly into fly out, be fade-in fade-out, splitting etc.Slideshow has a very wide range of applications at aspects such as picture browsing, screen protections, the function of slideshow that many picture sharing websites based on Web2.0 are also integrated.
The Android system is a kind of popular mobile terminal operating system, is widely used in product scopes such as mobile phone, PDA personal digital assistant, pocket player.In the Android platform, picture browsing also is a function commonly used, in conjunction with slideshow, can bring smooth, pleasing more experience to the user.
Summary of the invention
In view of above content, be necessary to provide the slideshow system and method in a kind of Android of being applied in platform terminal.
According to an aspect of the present invention, a kind of slideshow system is provided, is applied in the Android platform terminal, said system comprises:
One picture address tabulation acquisition module is used to obtain the picture address tabulation;
One picture reading module is used for reading picture according to picture address tabulation;
One picture decoder module is used for the coded format according to picture, and picture is decoded as bitmap;
One picture display setting acquisition module is used to obtain picture display setting parameter, and said picture display setting parameter comprises the resolution sizes and the project effect type of picture viewing area;
One picture adjusting module is used for the resolution sizes according to the picture viewing area, the resolution sizes of adjustment bitmap; And
One picture display module is used for bitmap is shown to said picture viewing area with said project effect type.
According to a further aspect in the invention, a kind of slideshow method is provided, is applied in the Android platform terminal, said method comprising the steps of:
Obtain the picture address tabulation;
Picture is read in tabulation according to picture address;
Coded format according to picture is decoded as bitmap with picture;
Obtain picture display setting parameter, said picture display setting parameter comprises the resolution sizes and the project effect type of picture viewing area;
According to the resolution sizes of picture viewing area, the resolution sizes of adjustment bitmap; And
Bitmap is shown to said picture viewing area with said project effect type.
Compared with prior art; The above-mentioned slideshow system and method that is applied in the Android platform terminal; Make a series of pictures of browsing that the user can be continuous, and can add multiple project effect, bring smooth, pleasing more experience to the user.
Description of drawings
Fig. 1 is the application architecture figure of the slideshow system in one embodiment of the present invention.
Fig. 2 is the functional block diagram of the slideshow system in one embodiment of the present invention.
Fig. 3 is the process flow diagram of the slideshow method in one embodiment of the present invention.
The main element symbol description
Picture address tabulation acquisition module ?202
Picture reading module ?204
The picture download module ?206
The picture decoder module ?208
Picture display setting acquisition module ?210
The picture adjusting module ?212
The picture display module ?214
Command process module ?216
Embodiment
See also Fig. 1, schematically show application architecture figure according to the slideshow system of one embodiment of the present invention.Said slideshow system applies is in one Android platform terminal; The image credit of said slideshow system can be the local storage unit of Android platform terminal; Also can be the website that is positioned on the network, said slideshow system be shown to picture on the display screen of Android platform terminal.
See also Fig. 2, schematically show functional block diagram according to the slideshow system of one embodiment of the present invention.Said slideshow system applies is in an Android platform terminal, and said slideshow system comprises picture address tabulation acquisition module 202, a picture reading module 204, a picture download module 206, a picture decoder module 208, a picture display setting acquisition module 210, a picture adjusting module 212, a picture display module 214 and a command process module 216.Said picture address tabulation acquisition module 202 connects said picture reading module 204; Said picture reading module 204 connects said picture download module 206, said picture decoder module 208 and said command process module 216; Said picture decoder module 208 connects said picture adjusting module 212, and said picture adjusting module 212 connects said picture display setting acquisition module 210 and said picture display module 214.
Said picture address tabulation acquisition module 202 is used to obtain the picture address tabulation.Said picture address tabulation appointment needs the address of some pictures of projection; Picture address can be the picture address that is arranged in local storage unit; Such as " album "; Also can be the picture address (URI:Uniform Resource Identifier) that is positioned on the internet, such as " http://album.abc.com/i/pic20.jpg ".
Said picture reading module 204 is used for reading picture according to picture address tabulation.If picture address is the picture address that is arranged in local storage unit; Then directly read picture from this picture address; If picture address is the URI address; Then start said picture download module 206, ask said picture download module 206 from this URI address download pictures to local storage unit, and then read picture from local storage unit.
Said picture download module 206 is used for when picture address is the URI address, is connected to this URI address, and picture is downloaded in the local storage unit.
Said picture decoder module 208 is used for the coded format according to picture, and picture is decoded as bitmap.Said coded format can be JPG, GIF, PNG, TIFF etc.
Said picture display setting acquisition module 210 is used to obtain picture display setting parameter, and said picture display setting parameter comprises the resolution sizes and the project effect type of picture viewing area.Resolution sizes comprises transverse axis resolution and longitudinal axis resolution, is unit with pixel (pixel), is 320x480 such as resolution sizes, and transverse axis resolution is 320 pixels, and longitudinal axis resolution is 480 pixels.The project effect type is picture additional effect when showing, such as window shutter, fly into fly out, be fade-in fade-out, splitting etc.In this embodiment, said picture display setting parameter is kept in an extend markup language (XML) file.
Said picture adjusting module 212 is used for the resolution sizes according to the picture viewing area, the resolution sizes of adjustment bitmap.If the transverse axis resolution of bitmap is greater than the longitudinal axis resolution of the transverse axis resolution of picture viewing area or the bitmap longitudinal axis resolution greater than the picture viewing area; Just must dwindle the resolution sizes of bitmap; If the user is provided with the aspect ratio of picture demonstration for keeping original scale; Then the resolution in length and breadth of bitmap is by identical reduced scale; For example the transverse axis resolution of bitmap narrows down to N/one of original transverse axis resolution, and the longitudinal axis resolution of bitmap also narrows down to N/one of original longitudinal axis resolution, is free ratio if the user is provided with the aspect ratio of picture demonstration; Then bitmap is filled whole picture viewing area, and it is identical with the resolution sizes of picture viewing area that the resolution sizes of bitmap zooms to.
Said picture display module 214 is used for bitmap is shown to said picture viewing area with said project effect type.The technician in present technique field is to be understood that; Different project effect types is to there being different display algorithms; Such as the algorithm of the project effect of translation is that the abscissa value of each pixel of bitmap is added an increment size; Then the bitmap after the coordinate transform is shown, to transformation of coordinates, realize the effect that the bitmap translation shows through repeatedly.
Said command process module 216 is used to receive user's operational order, and stops picture according to user's operational order and show or show next or a last pictures.User's operational order can come from the user to the control of onscreen target, also can come from click or the gesture of user through touch screen.When operational order requires to stop the picture demonstration; Said command process module 216 requires said picture reading module 204 to stop to read picture; When require showing next, operational order opens or during a last pictures; Said command process module 216 requires said picture reading module 204 from picture address tabulation, to obtain the address of last or next pictures, reads picture from this picture address.
See also Fig. 3, schematically show process flow diagram, may further comprise the steps according to the slideshow method of one embodiment of the present invention:
In step S302, obtain the picture address tabulation.Said picture address tabulation appointment needs the address of some pictures of projection; Picture address can be the picture address that is arranged in local storage unit; Such as " album "; Also can be the picture address (URI:UniformResource Identifier) that is positioned on the internet, such as " http://album.abc.com/i/pic20.jpg ".
In step S304, picture is read in tabulation according to picture address.If picture address is the picture address that is arranged in local storage unit; Then directly read picture from this picture address; If picture address is the URI address, then start a picture download module, be connected to this URI address; Picture is downloaded in the local storage unit, and then read picture from local storage unit.This embodiment, a newly-built thread starts this picture download module in this thread, can discharge like this taking of main thread, and makes main thread during the download of picture, still can respond user's operational order.User's operational order can come from the user to the control of onscreen target, also can come from click or the gesture of user through touch screen.When operational order requires to stop picture and shows, stop to read picture, when requiring to show next, operational order opens or during a last pictures, from the picture address tabulation, obtain the address of last or next pictures, read picture from this picture address.
In step S306, the coded format according to picture is decoded as bitmap with picture.Said coded format can be JPG, GIF, PNG, TIFF etc.
In step S308, obtain picture display setting parameter, said picture display setting parameter comprises the resolution sizes and the project effect type of picture viewing area.Resolution sizes comprises transverse axis resolution and longitudinal axis resolution, is unit with pixel (pixel), is 320x480 such as resolution sizes, and transverse axis resolution is 320 pixels, and longitudinal axis resolution is 480 pixels.The project effect type is picture additional effect when showing, such as window shutter, fly into fly out, be fade-in fade-out, splitting etc.In this embodiment, said picture display setting parameter is kept in the extensible markup language document.
In step S310, according to the resolution sizes of picture viewing area, the resolution sizes of adjustment bitmap.If the transverse axis resolution of bitmap is greater than the longitudinal axis resolution of the transverse axis resolution of picture viewing area or the bitmap longitudinal axis resolution greater than the picture viewing area; Just must dwindle the resolution sizes of bitmap; If the user is provided with the aspect ratio of picture demonstration for keeping original scale; Then the resolution in length and breadth of bitmap is by identical reduced scale; For example the transverse axis resolution of bitmap narrows down to N/one of original transverse axis resolution, and the longitudinal axis resolution of bitmap also narrows down to N/one of original longitudinal axis resolution, is free ratio if the user is provided with the aspect ratio of picture demonstration; Then bitmap is filled whole picture viewing area, and it is identical with the resolution sizes of picture viewing area that the resolution sizes of bitmap zooms to.
In step S312, bitmap is shown to said picture viewing area with said project effect type.The technician in present technique field is to be understood that; Different project effect types is to there being different display algorithms; Such as the algorithm of the project effect of translation is that the abscissa value of each pixel of bitmap is added an increment size; Then the bitmap after the coordinate transform is shown, to transformation of coordinates, realize the effect that the bitmap translation shows through repeatedly.
To one skilled in the art, can combine the actual needs of production to make other corresponding changes or adjustment according to invention scheme of the present invention and inventive concept, and these changes and adjustment all should belong to the protection domain of claim of the present invention.

Claims (10)

1. a slideshow system is applied in the Android platform terminal, it is characterized in that: said slideshow system comprises:
One picture address tabulation acquisition module is used to obtain the picture address tabulation;
One picture reading module is used for reading picture according to picture address tabulation;
One picture decoder module is used for the coded format according to picture, and picture is decoded as bitmap;
One picture display setting acquisition module is used to obtain picture display setting parameter, and said picture display setting parameter comprises the resolution sizes and the project effect type of picture viewing area;
One picture adjusting module is used for the resolution sizes according to the picture viewing area, the resolution sizes of adjustment bitmap; And
One picture display module is used for bitmap is shown to said picture viewing area with said project effect type.
2. slideshow as claimed in claim 1 system; It is characterized in that: said slideshow system also comprises a command process module; Be used to receive user's operational order, and stop the picture demonstration or show next or a last pictures according to user's operational order.
3. according to claim 1 or claim 2 slideshow system is characterized in that: said slideshow system also comprises a picture download module, is used for when picture address is the URI address, is connected to this URI address, and picture is downloaded in the local storage unit.
4. slideshow as claimed in claim 3 system is characterized in that: said picture download module is activated in a newly-built thread.
5. slideshow as claimed in claim 1 system, it is characterized in that: said picture display setting parameter is kept in the extensible markup language document.
6. a slideshow method is applied in the Android platform terminal, it is characterized in that: said method comprising the steps of:
Obtain the picture address tabulation;
Picture is read in tabulation according to picture address;
Coded format according to picture is decoded as bitmap with picture;
Obtain picture display setting parameter, said picture display setting parameter comprises the resolution sizes and the project effect type of picture viewing area;
According to the resolution sizes of picture viewing area, the resolution sizes of adjustment bitmap; And
Bitmap is shown to said picture viewing area with said project effect type.
7. slideshow method as claimed in claim 6 is characterized in that: said method is further comprising the steps of:
Receive user's operational order, and stop the picture demonstration or show next or a last pictures according to user's operational order.
8. like claim 6 or 7 described slideshow methods, it is characterized in that: it is further comprising the steps of to read picture according to picture address tabulation:
Whether the inspection picture address is the URI address, if the result for being, then starts a picture download module, is connected to this URI address, and picture is downloaded in the local storage unit.
9. slideshow method as claimed in claim 8 is characterized in that: said picture download module is activated in a newly-built thread.
10. slideshow method as claimed in claim 6 is characterized in that: said picture display setting parameter is kept in the extensible markup language document.
CN2010105129063A 2010-10-20 2010-10-20 Filmstrip projection system and method Pending CN102455890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105129063A CN102455890A (en) 2010-10-20 2010-10-20 Filmstrip projection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105129063A CN102455890A (en) 2010-10-20 2010-10-20 Filmstrip projection system and method

Publications (1)

Publication Number Publication Date
CN102455890A true CN102455890A (en) 2012-05-16

Family

ID=46039111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105129063A Pending CN102455890A (en) 2010-10-20 2010-10-20 Filmstrip projection system and method

Country Status (1)

Country Link
CN (1) CN102455890A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106008A (en) * 2013-03-06 2013-05-15 广东欧珀移动通信有限公司 Method, equipment and Android device for playing pictures
CN104063837A (en) * 2014-06-19 2014-09-24 Tcl通讯(宁波)有限公司 Image display processing method and system and mobile terminal
CN104794229A (en) * 2015-04-30 2015-07-22 努比亚技术有限公司 Picture sharing method and device
CN108509399A (en) * 2017-02-28 2018-09-07 北京新唐思创教育科技有限公司 The production method and device of courseware

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106008A (en) * 2013-03-06 2013-05-15 广东欧珀移动通信有限公司 Method, equipment and Android device for playing pictures
CN103106008B (en) * 2013-03-06 2016-08-17 广东欧珀移动通信有限公司 A kind of method of playing pictures, device and Android device
CN104063837A (en) * 2014-06-19 2014-09-24 Tcl通讯(宁波)有限公司 Image display processing method and system and mobile terminal
CN104794229A (en) * 2015-04-30 2015-07-22 努比亚技术有限公司 Picture sharing method and device
CN104794229B (en) * 2015-04-30 2018-06-05 努比亚技术有限公司 picture sharing method and device
CN108509399A (en) * 2017-02-28 2018-09-07 北京新唐思创教育科技有限公司 The production method and device of courseware
CN108509399B (en) * 2017-02-28 2022-01-25 北京新唐思创教育科技有限公司 Courseware making method and device

Similar Documents

Publication Publication Date Title
EP1914640B1 (en) Multiple screen size render-engine
CN102591853B (en) Webpage rearrangement method, webpage rearrangement device and mobile terminal
JP5290487B2 (en) System and method for digital document processing
US8520967B2 (en) Methods and apparatuses for facilitating generation images and editing of multiframe images
JP2012059275A (en) System and method for digital document processing
CN108898549B (en) Picture processing method, picture processing device and terminal equipment
US9754350B2 (en) Systems and methods of automatic image sizing
CN111681291A (en) Image processing method, device, equipment and computer readable storage medium
CN113676764B (en) Screen splitting display method, device and storage medium
US20120096387A1 (en) Method of displaying downloading progress of file
CN102455890A (en) Filmstrip projection system and method
US20060291730A1 (en) Method and apparatus for processing JPEG data in mobile communication terminal
TWI409694B (en) Information display device
CN105045587A (en) Picture display method and apparatus
JP2018508061A (en) Adaptive electronic documents
US20140095988A1 (en) Creating and consuming streaming e-book content
CN104123330A (en) Webpage image viewing method and device
CN110569460B (en) Push information display method, push information display device and storage medium
CN104536949A (en) Webpage reset method, webpage reset device and mobile terminal
US20140250503A1 (en) Systems and methods for delivering platform-independent web content
EP3188108A1 (en) Advertising method and advertising system using web content
US20130002674A1 (en) Media reproduction device
US20170124029A1 (en) System and method of producing dynamically customized images
US8767007B2 (en) Processing images of a display
US20160027082A1 (en) Virtual shop for electronic greeting cards

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120516