CN107741816A - Image information processing method, device and storage medium - Google Patents
Image information processing method, device and storage medium Download PDFInfo
- Publication number
- CN107741816A CN107741816A CN201711031399.XA CN201711031399A CN107741816A CN 107741816 A CN107741816 A CN 107741816A CN 201711031399 A CN201711031399 A CN 201711031399A CN 107741816 A CN107741816 A CN 107741816A
- Authority
- CN
- China
- Prior art keywords
- target
- image
- text
- characters
- sub
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明公开了一种图像信息的处理方法、装置及存储介质,所述方法包括:确定信息页面内的各分镜头图像对应的文字的数量;当目标分镜头图像对应的文字的数量大于数量阈值时,对所述目标分镜头图像对应的文字的显示参数进行修改,得到目标显示参数,所述目标分镜头图像归属于所述信息页面内的分镜头图像;基于所述目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示。通过本发明的技术方案当漫画中的文字显示过小和/或过密时,自动调整文字的显示方式。
The invention discloses an image information processing method, device and storage medium. The method includes: determining the number of characters corresponding to each sub-shot image in the information page; when the number of characters corresponding to the target sub-shot image is greater than the quantity threshold, Modify the display parameters of the text corresponding to the target sub-shot image to obtain target display parameters, and the target sub-shot image belongs to the sub-shot image in the information page; adjust the corresponding target sub-shot image based on the target display parameters Text, get the adjusted text and display it. Through the technical solution of the present invention, when the characters in the comics are displayed too small and/or too dense, the display mode of the characters is automatically adjusted.
Description
技术领域technical field
本发明涉及图像信息的处理技术,尤其涉及一种图像信息的处理方法、装置及存储介质。The present invention relates to image information processing technology, in particular to an image information processing method, device and storage medium.
背景技术Background technique
阅读应用程序(APP,Application)是一种用来浏览电子文档的工具,如阅读电子书或漫画等,为用户提供类似于纸质文档的阅读体验。由于阅读APP的功能丰富、其内容更新速度快,以及移动终端便于携带的优势,使得通过移动终端的阅读APP进行阅读成为人们常用的一种阅读方式。A reading application (APP, Application) is a tool for browsing electronic documents, such as reading electronic books or comics, and provides users with a reading experience similar to paper documents. Due to the rich functions of the reading APP, the fast update speed of its content, and the advantages of the portability of the mobile terminal, reading through the reading APP of the mobile terminal has become a common reading method for people.
对于用户使用阅读APP阅读漫画的场景,阅读APP的信息页面内,其显示的漫画可由至少一个剧情图像和相应的对白文字组成,其中各剧情图像与对白文字的布局方式以及相应的占比均是预先设置好的,因此,用户可以很方便地通过阅读APP进行阅读漫画。然而,当某个剧情图像所对应的对白文字较多时,受限于电子设备的信息页面的大小,对白文字在显示时可能会出现不合理的问题,如文字过小、过于密集等问题,用户在阅读的时候极为不便,对于上述的问题,目前尚无相应的解决方案。For the scene where the user reads comics using the reading APP, the comics displayed on the information page of the reading APP may consist of at least one plot image and corresponding dialogue text, and the layout method and corresponding ratio of each plot image and dialogue text are both It is pre-set, so users can easily read comics through the reading APP. However, when there are many dialogue texts corresponding to a plot image, limited by the size of the information page of the electronic device, unreasonable problems may occur when the dialogue text is displayed, such as too small and too dense, etc., users It is extremely inconvenient when reading, and there is no corresponding solution for the above-mentioned problems at present.
发明内容Contents of the invention
针对上述的技术问题,本发明实施例期望提供一种图像信息的处理方法、装置及存储介质,当漫画中的文字显示过小和/或过密时,能够自动调整文字的显示方式。In view of the above technical problems, the embodiments of the present invention expect to provide an image information processing method, device and storage medium, which can automatically adjust the display mode of the text when the text in the cartoon is displayed too small and/or too dense.
本发明实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present invention is realized like this:
第一方面,本发明实施例提供了图像信息的处理方法,包括:In a first aspect, an embodiment of the present invention provides a method for processing image information, including:
确定信息页面内的各分镜头图像对应的文字的数量;Determine the number of texts corresponding to each sub-camera image in the information page;
当目标分镜头图像对应的文字的数量大于数量阈值时,对所述目标分镜头图像对应的文字的显示参数进行修改,得到目标显示参数,所述目标分镜头图像归属于所述信息页面内的分镜头图像;When the quantity of the text corresponding to the target sub-shot image is greater than the quantity threshold, the display parameters of the text corresponding to the target sub-shot image are modified to obtain the target display parameters, and the target sub-shot image belongs to the sub-shot image in the information page;
基于所述目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示。The text corresponding to the target sub-shot image is adjusted based on the target display parameters, and the adjusted text is obtained and displayed.
上述方案中,所述信息页面包括待显示的信息页面;所述确定信息页面内的各分镜头图像对应的文字的数量,包括:In the above solution, the information page includes an information page to be displayed; the determination of the number of characters corresponding to each sub-shot image in the information page includes:
当检测到对阅读应用的第一预设操作时,根据所述第一预设操作确定翻页指令,基于所述翻页指令获取所述待显示的信息页面内的分镜头图像的相关数据,对所述分镜头图像进行渲染并确定所述各分镜头图像对应的文字框内的文字数量,根据所述各分镜头图像对应的文字框内的文字数量确定各分镜头图像对应的文字的数量;When a first preset operation on the reading application is detected, a page-turning instruction is determined according to the first preset operation, based on the page-turning instruction, relevant data of the sub-shot image in the information page to be displayed is acquired, and the The sub-shot image is rendered and the number of characters in the text box corresponding to each sub-shot image is determined, and the number of characters corresponding to each sub-shot image is determined according to the number of characters in the text box corresponding to each sub-shot image;
或者,当检测到对所述阅读应用的第二预设操作时,根据所述第二预设操作确定显示指令,基于所述显示指令获取服务器发送的包含待显示分镜头图像的相关数据,所述相关数据包括图像数据和所述待显示分镜头图像对应的文字数量,基于所述文字数量,确定所述待显示的信息页面内的各分镜头图像对应的文字的数量。Or, when a second preset operation on the reading application is detected, a display instruction is determined according to the second preset operation, and based on the display instruction, relevant data sent by the server including the sub-shot image to be displayed is acquired, the The relevant data includes image data and the number of characters corresponding to the sub-shot images to be displayed, and based on the number of characters, the number of characters corresponding to each sub-shot image in the information page to be displayed is determined.
上述方案中,所述信息页面包括当前显示的信息页面;所述确定信息页面内的各分镜头图像对应的文字的数量,包括:In the above solution, the information page includes the currently displayed information page; the determination of the number of characters corresponding to each sub-shot image in the information page includes:
识别所述当前显示的信息页面内各分镜头图像对应的文字,根据识别的结果确定所述各分镜头图像对应的文字的数量。Recognize the text corresponding to each sub-camera image in the currently displayed information page, and determine the number of characters corresponding to each sub-camera image according to the recognition result.
上述方案中,所述基于所述目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示,包括:In the above solution, adjusting the text corresponding to the target sub-shot image based on the target display parameters, obtaining and displaying the adjusted text includes:
接收针对所述目标分镜头图像对应的文字进行调整的调整指令,基于所述调整指令根据目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示。An adjustment instruction for adjusting the text corresponding to the target sub-shot image is received, and based on the adjustment instruction, the text corresponding to the target sub-shot image is adjusted according to the target display parameters, and the adjusted text is obtained and displayed.
上述方案中,所述基于所述目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示,包括:In the above solution, adjusting the text corresponding to the target sub-shot image based on the target display parameters, obtaining and displaying the adjusted text includes:
确定所述目标分镜头图像中的目标文字框,所述目标分镜头图像对应的文字位于所述目标文字框内;Determine the target text box in the target sub-shot image, the text corresponding to the target sub-shot image is located in the target text box;
基于所述目标显示参数调整所述文字框内的文字,得到调整后的文字并显示。The text in the text box is adjusted based on the target display parameter, and the adjusted text is obtained and displayed.
上述方案中,所述基于所述目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示,包括:In the above solution, adjusting the text corresponding to the target sub-shot image based on the target display parameters, obtaining and displaying the adjusted text includes:
基于所述目标显示参数确定所述目标分镜头图像对应的图像容器的缩放参数,所述目标分镜头图像和对应的文字置于所述图像容器内;determining the scaling parameters of the image container corresponding to the target sub-shot image based on the target display parameter, the target sub-shot image and the corresponding text are placed in the image container;
根据所述缩放参数调整所述图像容器至所述目标分镜头图像对应的文字符合所述目标显示参数,得到调整后的目标分镜头图像和文字并显示。adjusting the image container according to the scaling parameter until the text corresponding to the target sub-shot image conforms to the target display parameter, and obtaining and displaying the adjusted target sub-shot image and text.
上述方案中,还包括:The above scheme also includes:
当调整后的所述目标分镜头图像的显示时间满足预设时间阈值,或接收到复原指令时,根据所述显示参数对所述目标分镜头图像对应的文字进行调整,得到调整后的文字并显示。When the adjusted display time of the target sub-shot image satisfies a preset time threshold, or when a restoration instruction is received, the text corresponding to the target sub-shot image is adjusted according to the display parameters, and the adjusted text is obtained and displayed.
第二方面,本发明实施例还提供了一种图像信息的处理装置,包括:In the second aspect, the embodiment of the present invention also provides an image information processing device, including:
确定模块,用于确定信息页面内的各分镜头图像对应的文字的数量;A determining module, configured to determine the number of characters corresponding to each sub-shot image in the information page;
修改模块,用于当目标分镜头图像对应的文字的数量大于数量阈值时,对所述目标分镜头图像对应的文字的显示参数进行修改,得到目标显示参数,所述目标分镜头图像归属于所述信息页面内的分镜头图像;A modification module, configured to modify the display parameters of the text corresponding to the target sub-shot image when the number of characters corresponding to the target sub-shot image is greater than the quantity threshold, to obtain target display parameters, and the target sub-shot image belongs to the information page The sub-camera image within;
调整模块,用于基于所述目标显示参数调整所述目标分镜头图像对应的文字;An adjustment module, configured to adjust the text corresponding to the target sub-shot image based on the target display parameters;
输出模块,用于对得到调整后的文字进行显示。The output module is used to display the adjusted text.
第三方面,本发明实施例还提供了一种图像信息的处理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,In a third aspect, an embodiment of the present invention also provides an image information processing device, including: a processor and a memory for storing a computer program that can run on the processor; wherein,
所述处理器,用于在运行所述计算机程序时,实现上述的图像信息的处理方法。The processor is configured to implement the above image information processing method when running the computer program.
第四方面,本发明实施例还提供了一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时,实现上述的图像信息的处理方法。In a fourth aspect, an embodiment of the present invention further provides a storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned image information processing method is realized.
通过本发明实施例的技术方案,可以具有以下有益效果:Through the technical solutions of the embodiments of the present invention, the following beneficial effects can be achieved:
能够自动识别各分镜头图像对应的文字的数量,当该文字的数量满足设定的条件时,自动修改文字的显示参数,根据修改后的显示参数调整该文字,以达到最佳的显示效果。It can automatically identify the number of characters corresponding to each sub-camera image. When the number of characters meets the set conditions, the display parameters of the characters are automatically modified, and the characters are adjusted according to the modified display parameters to achieve the best display effect.
附图说明Description of drawings
图1为本发明实施例提供的一种图像信息的处理方法的流程示意图;FIG. 1 is a schematic flowchart of a method for processing image information provided by an embodiment of the present invention;
图2a为本发明实施例提供的一种缩放前的漫画显示示意图;Fig. 2a is a schematic diagram of a comic display before zooming provided by an embodiment of the present invention;
图2b为本发明实施例提供的一种缩放后的漫画显示示意图;Fig. 2b is a schematic diagram of a scaled cartoon display provided by an embodiment of the present invention;
图2c为本发明实施例提供的另一种缩放后的漫画显示示意图;Fig. 2c is a schematic diagram of another scaled cartoon display provided by an embodiment of the present invention;
图3为本发明实施例提供的一种图像信息的处理装置的结构示意图;FIG. 3 is a schematic structural diagram of an image information processing device provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种图像信息的处理装置的结构示意图;FIG. 4 is a schematic structural diagram of another image information processing device provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种图像信息的处理方法的流程示意图。FIG. 5 is a schematic flowchart of another image information processing method provided by an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作在本发明可选实施例中详细描述,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings in optional embodiments of the present invention, and the described embodiments are part of the embodiments of the present invention, rather than all of them. example. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
对本发明进行进一步详细说明之前,对本发明实施例中涉及的名词和术语进行说明,本发明实施例中涉及的名词和术语适用于如下的解释。Before the present invention is further described in detail, the nouns and terms involved in the embodiments of the present invention are described, and the nouns and terms involved in the embodiments of the present invention are applicable to the following explanations.
1)电子设备,可以包括智能手机、平板电脑、掌上电脑和电子阅读器等设备。1) Electronic devices, which can include devices such as smartphones, tablets, PDAs, and e-readers.
2)阅读应用(APP,Application),指的是安装在电子设备中的应用程序,该阅读应用所支持的文件格式可以包括:阅读文本(TXT,Text)格式、文档(DOC、Document)格式、便携式文档格式(PDF,Portable Document Format)、图形文件(PSD,Photoshop Document)格式、通用移动文件(UMD,Universal Mobile Document)格式和联合图象专家组(JPEG,JointPhotographic Experts Group)格式等。2) Reading application (APP, Application) refers to the application program installed in the electronic device. The file formats supported by the reading application may include: reading text (TXT, Text) format, document (DOC, Document) format, Portable Document Format (PDF, Portable Document Format), graphic file (PSD, Photoshop Document) format, Universal Mobile Document (UMD, Universal Mobile Document) format and Joint Photographic Experts Group (JPEG, Joint Photographic Experts Group) format, etc.
3)显示资料,指的是电子漫画数据,该显示资料中包含分镜头图像的数据和对应的文字数据。3) The display data refers to the electronic comic data, and the display data includes the data of the sub-shot image and the corresponding text data.
4)信息页面,指的是显示在或即将显示在电子设备的显示界面中的图像页面。4) The information page refers to the image page displayed or to be displayed on the display interface of the electronic device.
5)分镜头图像,表示漫画中的一个剧情图像,在显示的过程中,该分镜头图像和对应的文字可以置于图像容器内进行显示,当对图像容器内的图像和文字进行相应的处理时,一方面,可以单独对图像或者文字进行分别处理;另一方面,也可以以图像容器为单位进行整体处理,在对图像容器进行处理后,图像和文字均随之发生变化,例如,将图像容器进行缩放,那么,图像和文字也随之发生同步缩放。5) Shot image, which represents a plot image in the comics. During the display process, the shot image and the corresponding text can be placed in the image container for display. When the image and text in the image container are processed accordingly, On the one hand, the image or text can be processed separately; on the other hand, the image container can also be processed as a whole. After the image container is processed, the image and text will change accordingly. For example, the image container If zooming is performed, then the image and text will also be zoomed synchronously.
需要说明的是,满足上述条件的漫画(即漫画中的分镜头图像和对应的文字可以置于图像容器内进行显示),可以以特定开发的文件格式存储,也可以以传统的文件格式存储。It should be noted that comics that meet the above conditions (that is, the sub-shot images and corresponding text in the comics can be placed in the image container for display) can be stored in a specially developed file format or in a traditional file format.
6)渲染,指的是:使用计算机软件或移动端的应用从模型生成图像并输出的一个过程,渲染后便于图像的呈现。6) Rendering refers to a process of generating and outputting an image from a model using computer software or a mobile terminal application, which facilitates the presentation of the image after rendering.
7)文字框,也可称之为文本框,文字框内可放置文字,该文字框内的文字可调字体大小、字体颜色、行间距和对齐方式等。7) Text box, which can also be called a text box, text can be placed in the text box, and the font size, font color, line spacing and alignment of the text in the text box can be adjusted.
电子漫画中,其剧情图像与对白文字的布局方式以及相应的占比为固定值,从而通过电子设备阅读该电子漫画时,可能出现对白文字在显示时可能会出现不合理的问题,如文字过小、过于密集等问题。对于上述问题,本发明实施例中,提出了一种解决方案,能够实现自动缩放对白文字,参阅图1,为本发明实施例提供的一种图像信息的处理方法的流程示意图,所述图像信息的处理方法应用于图像信息的处理装置,在实际应用中,该装置可以实施为如智能手机、平板电脑、掌上电脑和电子阅读器等电子设备,所述方法可以包括以下步骤:In electronic comics, the layout of plot images and dialogue texts and the corresponding proportions are fixed values. Therefore, when reading the electronic comics through electronic devices, there may be unreasonable problems in the display of dialogue texts, such as excessive text. Small, too dense and other issues. For the above problems, in the embodiment of the present invention, a solution is proposed, which can realize automatic zooming of the dialogue text. Referring to FIG. The processing method is applied to a processing device for image information. In practical applications, the device can be implemented as electronic devices such as smart phones, tablet computers, palmtop computers and e-readers. The method can include the following steps:
步骤101:确定信息页面内的各分镜头图像对应的文字的数量。Step 101: Determine the number of characters corresponding to each sub-shot image in the information page.
这里,对于步骤101,可以通过以下三种方式确定各分镜头图像对应的文字的数量:Here, for step 101, the number of characters corresponding to each sub-shot image can be determined in the following three ways:
方式一:在渲染图像数据和文字数据的过程中确定文字的数量。Method 1: Determine the number of characters during the process of rendering image data and text data.
在可选的实施例中,所述信息页面包括待显示的信息页面;其中,步骤101包括:当检测到对阅读APP的第一预设操作时,根据所述第一预设操作确定翻页指令,基于所述翻页指令获取所述待显示的信息页面内的分镜头图像的相关数据,对所述分镜头图像进行渲染并确定所述各分镜头图像对应的文字框内的文字数量,根据所述各分镜头图像对应的文字框内的文字数量确定各分镜头图像对应的文字的数量。In an optional embodiment, the information page includes an information page to be displayed; wherein, step 101 includes: when a first preset operation on the reading APP is detected, determining page turning according to the first preset operation instruction, based on the page turning instruction to obtain the relevant data of the sub-shot image in the information page to be displayed, render the sub-shot image and determine the number of characters in the text box corresponding to each sub-shot image, according to the The number of characters in the text box corresponding to each sub-camera image determines the number of characters corresponding to each sub-camera image.
这里,第一预设操作可以是表征用户进行翻页的操作,如点击翻页按钮或滑动触摸屏的操作。Here, the first preset operation may be an operation representing the user performing page turning, such as clicking a page turning button or sliding a touch screen.
例如,用户在使用阅读APP阅读完当前页的漫画时,滑动触摸屏以进行翻页,电子设备检测到用户滑动触摸屏的操作时,确定该滑动操作确定该为显示下一个信息页面的翻页指令,根据该翻页指令从缓存或本地数据库中获取下一个需要显示的分镜头图像的相关数据,然后,通过网络图形库(WebGL,Web Graphics Library),或嵌入式系统开放式图形库(OpenGL ES,Open Graphics Library for Embedded Systems)对分镜头图像进行渲染,在渲染的过程中确定各分镜头图像对应的文字框内的文字数量。需要指出的是,上述的下一个信息页面指的是待显示的信页面。For example, when the user finishes reading the comics on the current page by using the reading APP, the user slides the touch screen to turn the page, and when the electronic device detects the user's operation of sliding the touch screen, it determines that the sliding operation should be a page turning instruction to display the next information page, Obtain the relevant data of the sub-shot image that needs to be displayed next from the cache or the local database according to the page turning instruction, and then, through the network graphics library (WebGL, Web Graphics Library), or the embedded system open graphics library (OpenGL ES, Open Graphics Library for Embedded Systems) renders the sub-shot images, and determines the number of characters in the text box corresponding to each sub-shot image during the rendering process. It should be pointed out that the above-mentioned next information page refers to the message page to be displayed.
方式二:通过服务器获取分镜头图像对应的文字数量。Method 2: Obtain the number of texts corresponding to the sub-camera images through the server.
在可选的实施例中,所述信息页面包括待显示的信息页面;步骤101包括:当检测到对所述阅读APP的第二预设操作时,根据所述第二预设操作确定显示指令,基于所述显示指令获取服务器发送的包含待显示分镜头图像的相关数据,所述相关数据包括图像数据和所述待显示分镜头图像对应的文字数量,基于所述文字数量,确定所述待显示的信息页面内的各分镜头图像对应的文字的数量。In an optional embodiment, the information page includes an information page to be displayed; step 101 includes: when detecting a second preset operation on the reading APP, determining a display instruction according to the second preset operation Obtaining, based on the display instruction, related data sent by the server that includes the sub-shot image to be displayed, the related data includes the image data and the number of characters corresponding to the sub-shot image to be displayed, and based on the number of characters, determining the to-be-displayed The number of texts corresponding to each sub-camera image in the information page.
这里,第二预设操作可以是表征用户欲进行阅读的操作,如点击下载按钮或在线打开显示资料按钮以进行阅读的操作。Here, the second preset operation may be an operation representing that the user intends to read, such as clicking a download button or opening a display data button online for reading.
例如,当用户使用阅读APP进行在线阅读时,将会发出一个用于在线阅读的操作,电子设备检测到该阅读操作时,根据该阅读操作确定用于显示电子漫画的显示指令;然后,将该显示指令发送至服务器,服务器接收到该显示指令时,将该显示指令指定的电子漫画数据发送至电子设备,其中,该电子漫画数据包含待显示分镜头图像的相关数据,该相关数据包括图像数据和待显示分镜头图像对应的文字数量;因此,电子设备根据该文字数量,确定待显示的信息页面内的各分镜头图像对应的文字的数量。For example, when the user uses the reading APP to read online, an operation for online reading will be issued. When the electronic device detects the reading operation, it will determine the display instruction for displaying the electronic comic according to the reading operation; then, the The display instruction is sent to the server, and when the server receives the display instruction, the electronic comic data specified by the display instruction is sent to the electronic device, wherein the electronic comic data contains relevant data of the sub-shot image to be displayed, and the relevant data includes image data and The number of characters corresponding to the sub-camera image to be displayed; therefore, the electronic device determines the number of characters corresponding to each sub-camera image in the information page to be displayed according to the number of characters.
方式三:通过识别位于分镜头图像上文字,确定分镜头图像对应的文字数量。Method 3: Determine the number of characters corresponding to the sub-shot image by identifying the text on the sub-shot image.
在可选的实施例中,步骤101包括:识别当前信息页面内各分镜头图像对应的文字,根据识别的结果确定所述各分镜头图像对应的文字的数量。In an optional embodiment, step 101 includes: identifying characters corresponding to each sub-camera image in the current information page, and determining the number of characters corresponding to each sub-camera image according to the recognition result.
例如,当电子设备显示分镜头图像时,启用阅读APP的文字识别功能,对位于分镜头图像上的文字进行识别,根据识别的结果确定各分镜头图像对应的文字的数量。这里,文字识别可以采用光学字符识别(OCR,Optical Character Recognition)技术。For example, when the electronic device displays the sub-camera images, the character recognition function of the reading APP is enabled to recognize the characters on the sub-camera images, and the number of characters corresponding to each sub-camera images is determined according to the recognition results. Here, the text recognition may adopt an Optical Character Recognition (OCR, Optical Character Recognition) technology.
步骤102:当目标分镜头图像对应的文字的数量大于数量阈值时,对所述目标分镜头图像对应的文字的显示参数进行修改,得到目标显示参数。Step 102: When the number of characters corresponding to the target sub-shot image is greater than the number threshold, modify the display parameters of the text corresponding to the target sub-shot image to obtain target display parameters.
这里,所述目标分镜头图像归属于所述信息页面内的分镜头图像。对于所述数量阈值的确定,可以通过以下两种方式:Here, the target sub-shot image belongs to the sub-shot images in the information page. For the determination of the quantity threshold, the following two methods can be adopted:
1)根据显示屏的尺寸设置数量阈值。1) Set the quantity threshold according to the size of the display.
举例来说,根据电子设备的显示屏的尺寸分别设置对应的数量阈值,如对于屏幕尺寸大的电子设备,其对应的数量阈值可以设置大一点;尺寸小的电子设备,其对应的数量阈值可以设置小一点,具体的数值本发明实施例中不做具体限定,可以电子设备所具有的常用的尺寸规范,针对不同尺寸规范的电子设备分别预先设置对应的数量阈值,具体实施时,阅读APP可以获取当前电子设备的设备标识而获得电子设备的尺寸,根据该电子设备尺寸而确定对应的预先设置的数量阈值。For example, the corresponding quantity thresholds are set according to the size of the display screen of the electronic device. For example, for an electronic device with a large screen size, the corresponding quantity threshold can be set a little larger; for a small electronic device, the corresponding quantity threshold can be set to The setting is smaller, and the specific value is not specifically limited in the embodiment of the present invention. The commonly used size specifications of electronic devices can be used to preset the corresponding quantity thresholds for electronic devices with different size specifications. In specific implementation, the reading APP can Obtain the device identification of the current electronic device to obtain the size of the electronic device, and determine the corresponding preset quantity threshold according to the size of the electronic device.
2)根据映射公式确定数量阈值。2) Determine the quantity threshold according to the mapping formula.
这里,该映射公式可以为一次函数,令数量阈值为y1,那么,该映射公式可以是y1=f(x)=bx,其中,x为为显示屏的尺寸,b为系数,因此,当屏幕尺寸为t时,得到的数量阈值为y1=bt。Here, the mapping formula can be a linear function, and the quantity threshold is set to be y1. Then, the mapping formula can be y1=f(x)=bx, where x is the size of the display screen, and b is a coefficient. Therefore, when the screen When the size is t, the resulting quantity threshold is y1=bt.
由上可知,屏幕尺寸越大,数量阈值相应的也越大。It can be seen from the above that the larger the screen size is, the larger the quantity threshold is.
这里,所述目标显示参数可以是文字的字体大小,与数量阈值的确定方式相似,所述目标显示参数也可以基于屏幕尺寸进行确定,具体如以下两种方式:Here, the target display parameter may be the font size of the text, which is similar to the determination method of the quantity threshold, and the target display parameter may also be determined based on the screen size, specifically in the following two ways:
a)根据显示屏的尺寸确定目标显示参数。a) Determine the target display parameters according to the size of the display screen.
举例来说,由于屏幕尺寸大的电子设备,在显示的过程中,文字和图像的显示大小比在屏幕尺寸小的电子设备显示要大,更容易看的清楚。因此,根据电子设备的显示屏尺寸来确定目标显示参数,例如,对于屏幕尺寸大的电子设备,其对应的目标显示参数的数值可以取小一点;而对于屏幕尺寸小的电子设备,其对应的目标显示参数可以选取大一点,以便在小屏幕的电子设备显示清楚。这里,具体的目标显示参数的数值,在本发明实施例中不做具体限定。For example, due to an electronic device with a large screen size, during the display process, the display size of text and images is larger than that displayed on an electronic device with a small screen size, which is easier to see clearly. Therefore, the target display parameter is determined according to the display screen size of the electronic device. For example, for an electronic device with a large screen size, the value of the corresponding target display parameter can be a little smaller; and for an electronic device with a small screen size, its corresponding The target display parameter can be selected to be larger, so that it can be displayed clearly on electronic devices with small screens. Here, the specific value of the target display parameter is not specifically limited in this embodiment of the present invention.
b)根据映射公式确定目标显示参数。b) Determine the target display parameters according to the mapping formula.
这里,该映射公式可以为分段函数,令目标显示参数为y2,那么,该映射公式可以是其中,x为为显示屏的尺寸,a、b、c和d均为系数,因此,当屏幕尺寸为s(s≤d)时,得到的目标显示参数为y2=a-bs;当屏幕尺寸为t(t>d)时,得到的目标显示参数为y2=c。需要说明的是,在屏幕尺寸小于d时,目标显示参数随着屏幕尺寸变大而变小;在屏幕尺寸大于d时,目标显示参数不再随着屏幕尺寸变大而变小,为一个固定的值c。Here, the mapping formula can be a piecewise function, let the target display parameter be y2, then, the mapping formula can be Among them, x is the size of the display screen, and a, b, c and d are all coefficients. Therefore, when the screen size is s (s≤d), the obtained target display parameter is y2=a-bs; when the screen size When t (t>d), the obtained target display parameter is y2=c. It should be noted that when the screen size is smaller than d, the target display parameters become smaller as the screen size becomes larger; when the screen size is larger than d, the target display parameters no longer become smaller as the screen size becomes larger, which is a fixed The value of c.
在本发明实施例中,如图2a所示,为了避免当某个图像的文字数量过多时,显示出来的字体过小过密的问题,电子设备首先对显示在各个分镜头图像的文字的数量进行判断,当判断出某个目标分镜头的文字的数量大于预设的数量阈值时,修改该目标分镜头的文字的显示参数,从而得到目标显示参数。例如,根据方式a)或方式b)获得目标分镜头图像的文字的目标字体大小,然后将目标分镜头的文字的字体大小修改为目标字体大小。其中,修改目标分镜头的文字的显示参数,通常是指对分镜头的文字的初始显示参数进行修改。In the embodiment of the present invention, as shown in Figure 2a, in order to avoid the problem that the displayed fonts are too small and too dense when the number of characters in a certain image is too large, the electronic device first checks the number of characters displayed in each sub-shot image Judging, when it is judged that the number of characters of a certain target sub-shot is greater than a preset number threshold, modifying the display parameters of the text of the target sub-shot, so as to obtain the target display parameters. For example, according to way a) or way b), the target font size of the text of the target sub-shot image is obtained, and then the font size of the text of the target sub-shot is modified to the target font size. Wherein, modifying the display parameters of the text of the target sub-shot generally refers to modifying the initial display parameters of the text of the sub-shot.
其中,显示参数可以包括字体大小,该字体大小的范围可以是5-30磅。此外,在实际应用过程中,显示参数还可以包括以下任意一种:字体颜色、加粗、行间距等。如,字体颜色的修改,可以根据各分镜头图像的颜色进行适应性的修改,如修改字体颜色使得与分镜头图像的颜色不同,以形成视觉差异的效果;字体行间距的修改,当文字间距较大或较小时,可以适当的修改行间距,以使调整后的文字能够在本分镜头图像内完整显示,避免出现跨分镜头图像显示的情况;字体加粗的修改,当确定字体大小在适配屏幕尺寸的最大化显示后,显示的字体仍比较小时,可以对字体进行加粗。Wherein, the display parameter may include a font size, and the range of the font size may be 5-30 points. In addition, in an actual application process, the display parameters may also include any of the following: font color, boldness, line spacing, and the like. For example, the modification of the font color can be adaptively modified according to the color of each sub-shot image, such as modifying the font color so that it is different from the color of the sub-shot image, so as to form a visual difference effect; the modification of the font line spacing, when the text spacing is large or smaller, the line spacing can be appropriately modified so that the adjusted text can be completely displayed in the sub-camera image, avoiding the display of images across sub-cameras; the modification of font bold, when the font size is determined to fit the screen size After the maximized display, the displayed font is still relatively small, and the font can be bolded.
在可选的实施例中,数量阈值是根据电子设备的显示屏的尺寸进行设置,且屏幕尺寸大的电子设备其数量阈值大、尺寸小的电子设备其数量阈值小,对于这种情况,步骤102的具体实现方法可以为:确定电子设备的尺寸,根据该尺寸获取对应的目标数量阈值,当目标分镜头图像对应的文字的数量大于该目标数量阈值时,对所述目标分镜头图像对应的文字的显示参数根据上述的方式a)或方式b)进行修改,得到目标显示参数。In an optional embodiment, the quantity threshold is set according to the size of the display screen of the electronic device, and an electronic device with a large screen size has a large quantity threshold, and an electronic device with a small screen size has a small quantity threshold. In this case, step The specific implementation method of 102 may be: determine the size of the electronic device, obtain the corresponding target number threshold according to the size, and when the number of characters corresponding to the target sub-shot image is greater than the target number threshold, the text corresponding to the target sub-shot image The display parameters are modified according to the above method a) or method b) to obtain the target display parameters.
因此,将电子设备的尺寸作为影响是否修改分镜头图像的文字的显示参数以及作为确定目标显示参数的因素,这样的有益效果是:对于某个分镜头图像,若在小尺寸电子设备中需要放大显示,而在大尺寸电子设备无需进行放大显示,那么,将电子设备的尺寸作为其中的一个影响因子,就可以实现在小尺寸电子设备中能够放大显示,在大尺寸电子设备不进行放大显示的效果。Therefore, the size of the electronic device is used as a display parameter affecting whether to modify the text of the sub-shot image and as a factor for determining the target display parameter. However, there is no need to perform enlarged display on large-sized electronic devices. Then, taking the size of the electronic device as one of the influencing factors, the effect of zooming in on small-sized electronic devices and not on large-sized electronic devices can be achieved.
步骤103:基于所述目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示。Step 103: Adjust the text corresponding to the target sub-shot image based on the target display parameters, obtain and display the adjusted text.
在步骤103中,对于实现调整所述目标分镜头图像对应的文字这个步骤,可以分以下两种场景:In step 103, the step of adjusting the text corresponding to the target sub-shot image can be divided into the following two scenarios:
场景一:手动控制的场景。Scenario 1: The scenario of manual control.
在可选的实施例中,可以通过用户手动调整的方式对漫画中的文字大小进行调整,因此,步骤103可以包括:接收针对所述目标分镜头图像对应的文字进行调整的调整指令,基于所述调整指令根据目标显示参数调整所述目标分镜头图像对应的文字,从而得到调整后的文字并显示。In an optional embodiment, the size of the text in the cartoon can be adjusted manually by the user. Therefore, step 103 may include: receiving an adjustment instruction for adjusting the text corresponding to the target sub-shot image, based on the The adjustment instruction adjusts the text corresponding to the target sub-shot image according to the target display parameters, so as to obtain and display the adjusted text.
例如,用户在阅读漫画时,所显示的漫画中,有个分镜头图像的文字过多,文字的字体过小,不方便阅读,此时,用户可以点击该分镜头图像或具有放大功能的功能按钮,从而产生一个针对目标分镜头图像对应的文字进行调整的调整指令,电子设备在接收到该调整指令后,根据目标显示参数调整目标分镜头图像对应的文字,得到调整后的文字并显示。举例来说,若默认的显示参数是字体大小为6磅,目标显示参数是字体大小为10磅,那么,电子设备接收到调整指令后,将该目标分镜头的字体大小从6磅调整为10磅,如图2b所示,从而得到适合用户阅读的字体大小。For example, when a user is reading a comic, in the displayed comic, there is a sub-camera image with too many texts and the text font is too small, which is inconvenient to read. At this time, the user can click the sub-camera image or a function button with a zoom-in function, Thus, an adjustment command is generated for adjusting the text corresponding to the target sub-shot image. After receiving the adjustment command, the electronic device adjusts the text corresponding to the target sub-shot image according to the target display parameters, and obtains and displays the adjusted text. For example, if the default display parameter is a font size of 6 points, and the target display parameter is a font size of 10 points, then, after receiving the adjustment instruction, the electronic device adjusts the font size of the target shot from 6 points to 10 points , as shown in Figure 2b, so as to obtain a font size suitable for the user to read.
在可选的实施例中,为了避免文字放大后,显示的文字超出了目标分镜头图像,对其它分镜头图像造成视觉影响的问题,因此,当电子设备接收到针对所述目标分镜头图像对应的文字进行调整的调整指令后,除了调整所述目标分镜头图像对应的文字之外,还调整所述目标分镜头图像的大小,得到调整后的文字和分镜头图像并显示。In an optional embodiment, in order to avoid the problem that the displayed text exceeds the target sub-camera image after the text is enlarged, causing visual impact on other sub-camera images, therefore, when the electronic device receives the text corresponding to the target sub-camera image After the adjusted adjustment command, in addition to adjusting the text corresponding to the target sub-shot image, the size of the target sub-shot image is also adjusted, and the adjusted text and sub-shot image are obtained and displayed.
例如,用户在阅读漫画时,所显示的漫画中,有个分镜头图像的文字过多,文字的字体过小,不方便阅读,此时,用户可以点击该分镜头图像或具有放大功能的功能按钮,从而产生一个针对目标分镜头图像对应的文字进行调整的调整指令,电子设备在接收到该调整指令后,将该目标分镜头的字体大小从6磅调整为10磅;为了避免放大后的文字超出目标分镜头图像,放大字体的同时,也适应性的对目标分镜头图像进行放大,如图2c所示,从而得到同时放大处理后的文字和目标分镜头图像。其中,放大的倍数可以根据实际情况设定。For example, when a user is reading a comic, in the displayed comic, there is a sub-camera image with too many texts and the text font is too small, which is inconvenient to read. At this time, the user can click the sub-camera image or a function button with a zoom-in function, Thus, an adjustment command is generated to adjust the text corresponding to the target sub-camera image. After receiving the adjustment command, the electronic device adjusts the font size of the target sub-camera from 6 points to 10 points; in order to prevent the enlarged text from exceeding the target sub-camera For the image, while enlarging the font, the target sub-camera image is also adaptively amplified, as shown in FIG. 2c, so as to obtain simultaneously enlarged text and the target sub-camera image. Wherein, the magnification factor can be set according to the actual situation.
需要说明的是,对于场景一,调整文字之前,可以采用上述的方式一、方式二或方式三确定目标分镜头图像的文字的数量。It should be noted that, for the first scene, before adjusting the text, the above-mentioned method 1, method 2 or method 3 can be used to determine the number of characters in the target sub-shot image.
因此,采用场景一的调整方式,可以根据用户的触发操作,对显示界面中的各分镜头图像和/或对应的文字进行缩放,即通过用户手动调整的方法调整显示界面中分镜头图像对应的文字大小,或者调整显示界面中分镜头图像和对应的文字大小。Therefore, using the adjustment method of scene 1, the sub-camera images and/or corresponding texts in the display interface can be scaled according to the trigger operation of the user, that is, the text size corresponding to the sub-camera images in the display interface can be adjusted manually by the user , or adjust the size of the sub-shot image and the corresponding text in the display interface.
场景二:自动调整的场景。Scenario 2: The scene of automatic adjustment.
对于场景二,调整目标分镜头图像的文字的方式可以有两种,一是直接调整文字的字体大小;另一是通过调整图像容器调整文字的显示大小。For scene 2, there are two ways to adjust the text of the target sub-shot image, one is to directly adjust the font size of the text; the other is to adjust the display size of the text by adjusting the image container.
方式A:直接调整文字的字体大小。Method A: directly adjust the font size of the text.
在可选的实施例中,在显示漫画的过程中,各分镜头图像和文字之间相互独立,可以单独进行相应的编辑,因此,步骤103可以包括:确定所述目标分镜头图像中的目标文字框,所述目标分镜头图像对应的文字位于所述目标文字框内;基于所述目标显示参数调整所述文字框内的文字,得到调整后的文字并显示。In an optional embodiment, during the process of displaying comics, each sub-camera image and text are independent of each other, and corresponding editing can be performed independently. Therefore, step 103 may include: determining the target text box in the target sub-camera image , the text corresponding to the target sub-shot image is located in the target text box; the text in the text box is adjusted based on the target display parameters, and the adjusted text is obtained and displayed.
例如,在显示漫画的时候,若某个分镜头图像对应的文字数量较多,大于某个预设的数量阈值时,电子设备确定该目标分镜头图像中的目标文字框,基于目标显示参数调整文字框内的文字,得到调整后的文字并显示,如将目标文字框内的字体从6磅调整为10磅,如图2b所示,从而得到适合用户阅读的字体大小。这里,在电子漫画中,文字的显示是以文字框为载体,因此,调整文字之前,需要确定该文字所在的文字框,然后进行调整。For example, when displaying comics, if the amount of text corresponding to a certain sub-shot image is larger than a certain preset quantity threshold, the electronic device determines the target text box in the target sub-shot image, and adjusts the text box based on the target display parameters. The text in the text box is adjusted and displayed, such as adjusting the font in the target text box from 6 points to 10 points, as shown in Figure 2b, so as to obtain a font size suitable for the user to read. Here, in the electronic cartoon, the display of the text is based on the text box. Therefore, before adjusting the text, it is necessary to determine the text box where the text is located, and then adjust it.
方式B:通过图像容器调整文字的显示大小。Method B: Adjust the display size of the text through the image container.
在可选的实施例中,在显示电子漫画的过程中,分镜头图像和对应的文字置于图像容器内以进行显示,可以通过调整图像容器达到调整文字的显示大小的目的,步骤103可以包括:基于所述目标显示参数确定所述目标分镜头图像对应的图像容器的缩放参数,所述目标分镜头图像和对应的文字置于所述图像容器内;根据所述缩放参数调整所述图像容器至所述目标分镜头图像对应的文字符合所述目标显示参数,得到调整后的目标分镜头图像和文字并显示。In an optional embodiment, during the process of displaying the electronic cartoon, the sub-shot image and the corresponding text are placed in the image container for display, and the purpose of adjusting the display size of the text can be achieved by adjusting the image container. Step 103 may include: Determine the scaling parameters of the image container corresponding to the target sub-shot image based on the target display parameters, the target sub-shot image and the corresponding text are placed in the image container; adjust the image container to the image container according to the scaling parameter The text corresponding to the target sub-shot image conforms to the target display parameters, and the adjusted target sub-shot image and text are obtained and displayed.
需要说明的是,调整图像容器时,分镜头图像和对应的文字同时随之变化。可以理解为同时调整图像大小和文字的显示大小。It should be noted that when the image container is adjusted, the sub-shot image and the corresponding text will change accordingly. It can be understood as adjusting the image size and text display size at the same time.
例如,根据目标显示参数确定图像容器的缩放参数,若确定的缩放参数为放大1.5倍,那么,电子设备以图像容器为处理单位进行放大处理,即将图像容器中的目标分镜头图像和文字进行放大1.5倍,得到放大后的目标分镜头图像和文字并显示,如图2c所示,从而得到同时放大处理后的文字和目标分镜头图像。For example, the scaling parameters of the image container are determined according to the target display parameters. If the determined scaling parameter is 1.5 times of magnification, then the electronic device uses the image container as the processing unit to perform magnification processing, that is, the target segmented image and text in the image container are magnified by 1.5. times, the enlarged target sub-shot image and text are obtained and displayed, as shown in FIG.
需要说明的是,对于场景二,调整文字之前,可以采用上述的方式一或方式二确定目标分镜头图像的文字的数量。It should be noted that, for the second scene, before adjusting the text, the above-mentioned method 1 or method 2 may be used to determine the number of characters in the target sub-shot image.
采用场景二的调整方式,可以实现自动调整显示界面中分镜头图像对应的文字大小,或者自动调整显示界面中分镜头图像和对应的文字大小。需要指出的是,即便是对于那些使用不支持手动缩放(如单击缩放、双击缩放或多点触摸缩放)功能的显示屏的电子阅读设备,也可以实现图像和/或文字的自动缩放。Using the adjustment method of scene 2, it is possible to automatically adjust the size of the text corresponding to the sub-camera image in the display interface, or to automatically adjust the size of the sub-camera image and the corresponding text in the display interface. It should be pointed out that even for those e-reading devices that use a display screen that does not support manual zooming (such as single-tap zooming, double-tap zooming or multi-touch zooming), automatic zooming of images and/or texts can be achieved.
在可选的实施例中,为了避免放大显示的分镜头图像影响该信息页面的正常显示,当用户阅读完该放大后的分镜头图像后,需要将该放大后的图像进行复原,即步骤103之后,还包括:当调整后的所述目标分镜头图像的显示时间满足预设时间阈值,或接收到复原指令时,根据所述显示参数对所述目标分镜头图像对应的文字进行调整,得到调整后的文字并显示。In an optional embodiment, in order to prevent the enlarged sub-camera image from affecting the normal display of the information page, after the user finishes reading the enlarged sub-camera image, the enlarged image needs to be restored, that is, after step 103, It also includes: when the adjusted display time of the target sub-shot image satisfies the preset time threshold, or when a recovery instruction is received, adjusting the text corresponding to the target sub-shot image according to the display parameters to obtain the adjusted text and display.
这里,调整后的文字即为原始的文字。因此,将放大后的目标分镜头图像复原后,避免了其它分镜头图像被挤压至无法显示的区域内的问题,从而方便用户阅读其它分镜头图像。Here, the adjusted text is the original text. Therefore, after the enlarged target sub-camera image is restored, the problem of other sub-camera images being squeezed into an area that cannot be displayed is avoided, so that it is convenient for the user to read other sub-camera images.
综上所述,通过本发明实施例所提供的图像信息的处理方法,能够自动识别各分镜头图像对应的文字的数量,当该文字的数量满足设定的条件时,修改文字的显示参数,根据修改后的显示参数调整该文字,以达到最佳的显示效果。To sum up, through the image information processing method provided by the embodiment of the present invention, the number of characters corresponding to each sub-shot image can be automatically identified, and when the number of characters meets the set conditions, the display parameters of the characters are modified, according to The modified display parameters adjust the text to achieve the best display effect.
参阅图3,为本发明实施例提供的一种图像信息的处理装置的结构示意图,所述图像信息的处理装置可以是智能手机、平板电脑、掌上电脑和电子阅读器等电子设备,可以包括:Referring to FIG. 3 , it is a schematic structural diagram of an image information processing device provided by an embodiment of the present invention. The image information processing device may be electronic devices such as smart phones, tablet computers, palmtop computers, and e-readers, and may include:
确定模块301,用于确定信息页面内的各分镜头图像对应的文字的数量;A determining module 301, configured to determine the number of characters corresponding to each sub-shot image in the information page;
修改模块302,用于当目标分镜头图像对应的文字的数量大于数量阈值时,对所述目标分镜头图像对应的文字的显示参数进行修改,得到目标显示参数,所述目标分镜头图像归属于所述信息页面内的分镜头图像;A modification module 302, configured to modify the display parameters of the text corresponding to the target sub-shot image when the number of characters corresponding to the target sub-shot image is greater than the quantity threshold, to obtain target display parameters, and the target sub-shot image belongs to the information Storyboard images within the page;
调整模块303,用于基于所述目标显示参数调整所述目标分镜头图像对应的文字;An adjustment module 303, configured to adjust the text corresponding to the target sub-shot image based on the target display parameters;
输出模块304,用于对得到调整后的文字进行显示。The output module 304 is configured to display the adjusted text.
这里,所述信息页面包括待显示的信息页面;确定模块301,具体用于:Here, the information page includes an information page to be displayed; the determination module 301 is specifically used for:
当检测到对阅读APP的第一预设操作时,根据所述第一预设操作确定翻页指令,基于所述翻页指令获取所述待显示的信息页面内的分镜头图像的相关数据,对所述分镜头图像进行渲染并确定所述各分镜头图像对应的文字框内的文字数量,根据所述各分镜头图像对应的文字框内的文字数量确定各分镜头图像对应的文字的数量;When the first preset operation on the reading APP is detected, the page turning instruction is determined according to the first preset operation, and the relevant data of the sub-shot image in the information page to be displayed is obtained based on the page turning instruction, and the The sub-shot image is rendered and the number of characters in the text box corresponding to each sub-shot image is determined, and the number of characters corresponding to each sub-shot image is determined according to the number of characters in the text box corresponding to each sub-shot image;
当检测到对所述阅读APP的第二预设操作时,根据所述第二预设操作确定显示指令,基于所述显示指令获取服务器发送的包含待显示分镜头图像的相关数据,所述相关数据包括图像数据和所述待显示分镜头图像对应的文字数量,基于所述文字数量,确定所述待显示的信息页面内的各分镜头图像对应的文字的数量。When a second preset operation on the reading APP is detected, a display instruction is determined according to the second preset operation, and based on the display instruction, relevant data sent by the server containing the sub-shot image to be displayed is obtained, and the relevant data is The image data and the number of characters corresponding to the sub-shot images to be displayed are included, and based on the number of characters, the number of characters corresponding to each sub-shot image in the information page to be displayed is determined.
这里,确定模块301,具体用于:Here, the determination module 301 is specifically used for:
识别所述当前显示的信息页面内各分镜头图像对应的文字,根据识别的结果确定所述各分镜头图像对应的文字的数量。Recognize the text corresponding to each sub-camera image in the currently displayed information page, and determine the number of characters corresponding to each sub-camera image according to the recognition result.
这里,调整模块303,具体用于:Here, the adjustment module 303 is specifically used for:
接收针对所述目标分镜头图像对应的文字进行调整的调整指令,基于所述调整指令根据目标显示参数调整所述目标分镜头图像对应的文字,得到调整后的文字并显示。An adjustment instruction for adjusting the text corresponding to the target sub-shot image is received, and based on the adjustment instruction, the text corresponding to the target sub-shot image is adjusted according to the target display parameters, and the adjusted text is obtained and displayed.
这里,调整模块303,具体用于:Here, the adjustment module 303 is specifically used for:
确定所述目标分镜头图像中的目标文字框,所述目标分镜头图像对应的文字位于所述目标文字框内;Determine the target text box in the target sub-shot image, the text corresponding to the target sub-shot image is located in the target text box;
基于所述目标显示参数调整所述文字框内的文字,得到调整后的文字并显示。The text in the text box is adjusted based on the target display parameter, and the adjusted text is obtained and displayed.
这里,调整模块303,具体用于:Here, the adjustment module 303 is specifically used for:
基于所述目标显示参数确定所述目标分镜头图像对应的图像容器的缩放参数,所述目标分镜头图像和对应的文字置于所述图像容器内;determining the scaling parameters of the image container corresponding to the target sub-shot image based on the target display parameter, the target sub-shot image and the corresponding text are placed in the image container;
根据所述缩放参数调整所述图像容器至所述目标分镜头图像对应的文字符合所述目标显示参数,得到调整后的目标分镜头图像和文字并显示。adjusting the image container according to the scaling parameter until the text corresponding to the target sub-shot image conforms to the target display parameter, and obtaining and displaying the adjusted target sub-shot image and text.
这里,调整模块303,还用于:Here, the adjustment module 303 is also used for:
当调整后的所述目标分镜头图像的显示时间满足预设时间阈值,或接收到复原指令时,根据所述显示参数对所述目标分镜头图像对应的文字进行调整,得到调整后的文字并显示。When the adjusted display time of the target sub-shot image satisfies a preset time threshold, or when a restoration instruction is received, the text corresponding to the target sub-shot image is adjusted according to the display parameters, and the adjusted text is obtained and displayed.
参阅图4,为本发明实施例提供的一种图像信息的处理装置的结构示意图,图像信息的处理装置可以是智能手机、平板电脑、掌上电脑和电子阅读器等电子设备,以电子设备400为例,其结构可以包括:至少一个处理器410、存储器420、至少一个网络接口430和用户接口440。电子设备400中的各个组件通过总线系统450耦合在一起。可理解,总线系统450用于实现这些组件之间的连接通信总线系统450除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图4中将各种总线都标为总线系统450。Referring to FIG. 4 , it is a schematic structural diagram of an image information processing device provided by an embodiment of the present invention. The image information processing device may be electronic equipment such as a smart phone, a tablet computer, a palmtop computer, and an electronic reader, and the electronic equipment 400 is an example For example, its structure may include: at least one processor 410 , memory 420 , at least one network interface 430 and user interface 440 . Various components in the electronic device 400 are coupled together through the bus system 450 . It can be understood that the bus system 450 is used to realize the connection between these components. The communication bus system 450 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 450 in FIG. 4 .
其中,用户接口440根据需要可以实施为显示器、键盘触感板或触摸屏等。Wherein, the user interface 440 may be implemented as a display, a keyboard touch panel, or a touch screen as required.
存储器420可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者,本发明实施例描述的存储器420旨在包括但不限于这些和任意其它适合类型的存储器。The memory 420 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. The memory 420 described in the embodiment of the present invention is intended to include but not limited to these and any other suitable types of memory.
本发明实施例中的存储器420用于存储各种类型的数据以支持电子设备400的操作。这些数据的示例包括:用于在电子设备400上操作的任何计算机程序,如操作系统421和应用程序422。The memory 420 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device 400 . Examples of such data include: any computer programs for operating on electronic device 400 , such as operating system 421 and application programs 422 .
其中,操作系统421包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序422可以包含各种应用程序,实现本发明实施例提供的图像信息的处理方法的程序可以包含在应用程序422中作为一个功能模块,当然也可以提供为专门用于图像信息的处理方法的应用程序。Among them, the operating system 421 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 422 can include various application programs, and the program that realizes the image information processing method provided by the embodiment of the present invention can be included in the application program 422 as a functional module, and of course it can also be provided as a program specially used for the image information processing method application.
本发明实施例提供的图像信息的处理方法可以应用于处理器410中,或者由处理器410实现,基于纯硬件的方式实施,或者基于软件和硬件结合的方式实施。The image information processing method provided by the embodiment of the present invention may be applied to the processor 410, or implemented by the processor 410, implemented based on pure hardware, or implemented based on a combination of software and hardware.
就纯硬件的实施方式来说,处理器410可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,本发明实施例提供的图像信息的处理方法的各步骤可以通过处理器410中的硬件的集成逻辑电路完成,例如在示例性实施例中,电子设备400可以内建有用于实现本发明实施例提供的图像信息的处理方法的硬件译码处理器实施,例如,专用集成电路(ASIC,Application Specific Integrated Circuit)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-ProgrammableGate Array)等实现。As far as the pure hardware implementation is concerned, the processor 410 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the image information processing method provided by the embodiment of the present invention can be completed by the integrated logic circuit of the hardware in the processor 410. For example, in an exemplary embodiment, the electronic device 400 can be built with a The hardware decoding processor implementation of the image information processing method that the embodiment of the present invention provides, for example, application specific integrated circuit (ASIC, Application Specific Integrated Circuit), complex programmable logic device (CPLD, Complex Programmable Logic Device), field programmable Gate array (FPGA, Field-Programmable Gate Array) and other implementations.
就软硬件结合的实施方式来说,上述的处理器410可以是通用处理器及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器420,其中,存储介质存储能够在处理器410上运行的计算机程序,处理器410读取存并运行储器420中的计算机程序时,完成本发明实施例提供的图像信息的处理方法。As far as the implementation manner combining software and hardware is concerned, the above-mentioned processor 410 may be a combination of a general-purpose processor and software modules for execution. The software module may be located in a storage medium, and the storage medium is located in the memory 420, wherein the storage medium stores a computer program that can run on the processor 410, and when the processor 410 reads and runs the computer program stored in the memory 420, the present invention The image information processing method provided by the embodiment of the invention.
参阅图5,为本发明实施例提供的另一种图像信息的处理方法的流程示意图,所述方法可以包括以下步骤:Referring to FIG. 5 , it is a schematic flowchart of another image information processing method provided by an embodiment of the present invention, and the method may include the following steps:
当用户通过电子设备中的阅读APP进行漫画阅读时,阅读APP会自动识别当前正在阅读的分镜头图像中对白文字的数量多少,当判断当前正在阅读的分镜头图像中对白文字的数量超过预设的数量阈值时,则会对该分镜头图像对应的文字进行放大,或者,会对该分镜头图像进行放大,以使得其中的对白文字也一并放大,从而可以保证用户可以较轻松的阅读该分镜头图像中的对白文字,而当用户阅读完该分镜头图像后,阅读APP将会正常显示该分镜头图像,从而保证了该漫画的正常排版,给用户带来了更好的使用体验,具体实施步骤如下:When the user reads comics through the reading app in the electronic device, the reading app will automatically identify the number of dialogue texts in the currently reading sub-camera image, and when it is judged that the number of dialogue texts in the sub-camera image currently being read exceeds the preset number When the threshold is set, the text corresponding to the sub-camera image will be enlarged, or the sub-camera image will be enlarged, so that the dialogue text in it will also be enlarged, so that users can easily read the text in the sub-camera image After the user reads the sub-camera image, the reading APP will display the sub-camera image normally, thus ensuring the normal typesetting of the comic and bringing a better user experience to the user. The specific implementation steps are as follows:
步骤501:当用户使用阅读APP阅读漫画时,阅读APP自动对当前显示在阅读APP显示界面中的分镜头图像中的对白文字数量进行识别。Step 501: When the user uses the Reading APP to read comics, the Reading APP automatically recognizes the number of dialogue characters in the sub-shot image currently displayed on the display interface of the Reading APP.
需要说明的是,阅读APP除了可以自动对当前在显示界面中显示的分镜头图像中的对白文字数量进行识别以外,还可以直接对当前正在阅读的漫画中每幅分镜头画面中对白文字的数量进行识别,用户在使用阅读APP阅读漫画的过程中,阅读APP会向后台服务器请求获取用户期望阅读漫画的相关数据,并将该些数据缓存在阅读APP本地,则阅读APP可以根据缓存在本地的、用户当前阅读的漫画的相关数据,来确定该漫画中每一副分镜头图像中对白文字的文字数量。It should be noted that in addition to automatically identifying the number of dialogue texts in the sub-camera images currently displayed on the display interface, the Reading APP can also directly identify the number of dialogue texts in each sub-camera in the comic currently being read , in the process of reading manga by the user using the reading app, the reading app will request the background server to obtain relevant data about the comics that the user expects to read, and cache the data locally in the reading app. The relevant data of the comic currently read is used to determine the number of words in the dialogue in each sub-camera image in the comic.
需要说明的是,阅读APP可以通过下述几种方式来确定当前正在阅读漫画中各分镜头图像中对白文字的字数:It should be noted that the reading APP can determine the number of words in the dialogue text in each shot image in the comic currently being read in the following ways:
方式1:阅读APP在渲染将要展示在显示界面中的分镜头图像的过程中,确定该分镜头图像的对白文字的字数。Method 1: In the process of rendering the sub-camera image to be displayed on the display interface, the reading app determines the number of words in the dialogue text of the sub-camera image.
阅读APP在加载漫画的过程中,会根据预先缓存在APP本地的漫画数据对该漫画中各分镜头图像进行渲染,其中,该漫画数据包括图像数据,以及对应的对白文字和用于显示对白文字的文字框,因此,在渲染过程中,阅读APP确定该分镜头图像中对白文字的字数。During the process of loading comics in the Reading APP, it will render each shot image in the comic according to the comic data pre-cached locally in the APP, where the comic data includes image data, and the corresponding dialogue text and the text used to display the dialogue text Therefore, during the rendering process, the Reading APP determines the number of words in the dialogue text in the sub-shot image.
方式2:阅读APP在通过后台服务器获取分镜头图像的对白文字的字数。Method 2: Read the number of words in the dialogue text of the sub-camera image obtained by the APP through the background server.
后台服务器中保存有构成该漫画的每一副分镜头图像的漫画数据,该分镜头图像的漫画数据中包含有用于构成该分镜头图像的图片数据,还保存有该分镜头图像中的对白文字,后台服务器根据每个漫画对应的漫画数据,即可确定该漫画中各个分镜头图像中的文字字数;然后,服务器将确定的文字字数发送至阅读APP,从而,阅读APP得到显示界面中的分镜头图像的对白文字的字数。The comic data of each sub-shot image that constitutes the comic is stored in the background server. The comic data of the sub-shot image includes the picture data used to form the sub-shot image, and also saves the dialogue text in the sub-shot image. The background server according to The comic data corresponding to each comic can determine the number of characters in each sub-camera image in the comic; then, the server sends the determined number of characters to the reading APP, so that the reading APP can obtain the dialogue text of the sub-camera images in the display interface word count.
方式3:阅读APP利用文字识别技术识别分镜头图像上的文字来确定对白文字的字数。Method 3: Reading APP uses text recognition technology to identify the text on the sub-camera image to determine the number of words in the dialogue text.
阅读APP在当前显示在显示界面中,对分镜头图像中的对白文字进行识别,以确定出当前显示的分镜头图像中对白文字的字数。The reading APP recognizes the dialogue text in the sub-camera image currently displayed on the display interface to determine the number of words in the sub-camera text in the currently displayed sub-camera image.
步骤502:阅读APP判断分镜头图像中的对白文字数量是否超过预设的数量阈值,当判断结果为是时,则执行步骤503;当判断结果为否时,则不执行任何操作。Step 502: Read the APP to judge whether the number of dialogue characters in the sub-shot image exceeds the preset quantity threshold. If the judgment result is yes, perform step 503; if the judgment result is no, do not perform any operation.
步骤503:当分镜头图像中对白文字的字数超过预设的字数阈值时,阅读APP对该分镜头图像中的对白文字进行放大。Step 503: When the number of words in the dialogue text in the sub-camera image exceeds the preset word count threshold, the reading APP enlarges the dialogue text in the sub-camera image.
需要说明的是,阅读APP可以采用以下两种方式对分镜头图像中的对白文字进行放大:It should be noted that the reading APP can use the following two methods to enlarge the dialogue text in the sub-camera image:
方式a:将对话框中的对白文字进行放大。Method a: Enlarge the dialogue text in the dialog box.
例如,假设阅读APP分镜头图像中的对白文字超过了预设的文字字数阈值,传统的技术方案中,阅读APP只能通过缩小对白文字大小的方式,以实现在有限的区域内展示该些对白文字的目的,其效果如图2a所示,很明显该分镜头图像中的对白文字较小且比较密集,会影响用户的正产阅读。而采用本申请提供的方案,在这种情况下,阅读APP会对该分镜头图像的对比文字进行放大,对应的,对话框也随之进行放大,如图2b所示。相比于图2a中对白文字的显示方式,图2b中对白文字更大,进而更方便用户的阅读。For example, assuming that the dialogue text in the split-shot image of the reading app exceeds the preset word count threshold, in the traditional technical solution, the reading APP can only display the dialogue text in a limited area by reducing the size of the dialogue text The effect is shown in Figure 2a. It is obvious that the dialogue text in the sub-shot image is small and dense, which will affect the user's normal reading. With the solution provided by this application, in this case, the reading APP will enlarge the comparison text of the sub-camera image, and correspondingly, the dialog box will also be enlarged accordingly, as shown in Figure 2b. Compared with the display method of the dialogue text in FIG. 2a, the dialogue text in FIG. 2b is larger, which is more convenient for users to read.
这里需要说明的是,为了避免放大的对话框对其它分镜头图像的遮挡,也为了可以根据用户的需要进行更灵活的实现对话框的放大,在本发明实施例中,当确定当前所显示的分镜头图像的对白文字的字数大于预设字数阈值时,阅读APP可以不会马上对该分镜头图像中的对话文字进行放大,而是在接收到用户对该对话文字输入特定操作后,才会执行放大操作。例如,当用户点击该分镜头图像中的对话框后,此时阅读APP才会对该对话框进行放大。What needs to be explained here is that, in order to avoid the occlusion of other sub-camera images by the enlarged dialog box, and in order to realize the enlargement of the dialog box more flexibly according to the user's needs, in the embodiment of the present invention, when determining the currently displayed sub-camera When the number of words in the dialogue text of the image is greater than the preset word count threshold, the reading app may not immediately enlarge the dialogue text in the sub-camera image, but will only perform the enlargement operation after receiving a specific operation input by the user on the dialogue text . For example, when the user clicks on the dialog box in the sub-camera image, the reading APP will only enlarge the dialog box at this time.
方式b:对分镜头图像和对白文字一并进行放大。Method b: Enlarge the sub-camera image and the dialogue text together.
例如,仍以现有阅读APP的展示效果为例,如图2a所示,采用方式b的放大方法,当阅读APP确定该分镜头图像的对白文字的字数超过预设的字数阈值时,阅读APP可以图像容器进行放大,其中,该分镜头图像和对白文字置于该图像容器内,当图像容器发生变化,容器内的图像和文字也会随之变化,从而实现对该分镜头图像和对白文字的放大,效果如图2c所示。For example, still taking the display effect of the existing reading APP as an example, as shown in Figure 2a, using the zoom-in method of method b, when the reading APP determines that the number of words in the dialogue text of the sub-shot image exceeds the preset word count threshold, the reading APP can The image container is enlarged, wherein the sub-camera image and the dialogue text are placed in the image container. When the image container changes, the image and text in the container will also change accordingly, thereby realizing the zoom-in of the sub-camera image and the dialogue text. The effect is shown in Figure 2c.
为了避免对某个分镜头图像进行放大而影响整个漫画的排版,在本发明实施例中,阅读APP也可以在接收到用户对该分镜头图像的点击操作后,才会对该分镜头图像进行放大。并且,当用户阅读完该分镜头图像后,阅读APP将会对该分镜头图像恢复正常尺寸。In order to avoid zooming in on a certain sub-camera image and affecting the typesetting of the entire comic, in the embodiment of the present invention, the reading APP can also enlarge the sub-camera image only after receiving the user's click operation on the sub-camera image. And, after the user finishes reading the sub-camera image, the reading app will restore the sub-camera image to its normal size.
此外,当用户通过阅读APP进行漫画阅读时,阅读APP会自动识别当前正在阅读的分镜头图像中对白文字的数量,当判断当前正在阅读的分镜头图像中对白文字的数量超过预设的数量阈值时,则会对图像容器进行放大,以使该分镜头图像和对白文字也一并放大,从而可以保证用户可以较轻松的阅读该分镜头图像中的对白文字,而当用户阅读完该分镜头图像后,阅读APP将会复原该分镜头图像,从而保证了该漫画的正常排版,给用户带来了更好的体验。In addition, when the user reads comics through the reading app, the reading app will automatically identify the number of dialogue texts in the currently reading sub-camera image, and when it is judged that the number of dialogue texts in the sub-camera image currently being read exceeds the preset number threshold, The image container will be enlarged so that the sub-camera image and the dialogue text are also enlarged, so that the user can easily read the dialogue text in the sub-camera image, and when the user finishes reading the sub-camera image, read the APP The split-shot image will be restored, thereby ensuring the normal typesetting of the comic and bringing a better experience to users.
本发明实施例还提供一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时用于实现本发明实施例提供的图像信息的处理方法,例如,如图1、图5所示实施例的图像信息的处理方法;存储介质包括易挥发性随机存取存储器(RAM)、只读存储器(ROM)、电可擦可编程只读存储器(EEPROM)、闪存或其他存储器技术、只读光盘(CD-ROM)、数字通用盘(DVD)或其它被访问的介质。The embodiment of the present invention also provides a storage medium, which stores a computer program, and when the computer program is executed by a processor, it is used to implement the image information processing method provided by the embodiment of the present invention, for example, as shown in Figure 1 and Figure 5 The processing method of the image information of embodiment; storage medium comprises volatile random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only Compact Disk (CD-ROM), Digital Versatile Disk (DVD), or other media to be accessed.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711031399.XA CN107741816A (en) | 2017-10-27 | 2017-10-27 | Image information processing method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711031399.XA CN107741816A (en) | 2017-10-27 | 2017-10-27 | Image information processing method, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107741816A true CN107741816A (en) | 2018-02-27 |
Family
ID=61233061
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711031399.XA Pending CN107741816A (en) | 2017-10-27 | 2017-10-27 | Image information processing method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107741816A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109445652A (en) * | 2018-09-26 | 2019-03-08 | 中国平安人寿保险股份有限公司 | A kind of PDF document display methods and terminal device |
| CN110865859A (en) * | 2019-10-29 | 2020-03-06 | 维沃移动通信有限公司 | Image display method, device, electronic device and medium |
| CN111078080A (en) * | 2019-06-09 | 2020-04-28 | 广东小天才科技有限公司 | A point reading control method and electronic device |
| CN111724455A (en) * | 2020-06-15 | 2020-09-29 | 维沃移动通信有限公司 | Image processing method and electronic device |
| CN112988012A (en) * | 2021-03-25 | 2021-06-18 | 百度在线网络技术(北京)有限公司 | Image display method, device, equipment and storage medium |
| CN113282743A (en) * | 2021-06-03 | 2021-08-20 | 北京得间科技有限公司 | Information display method, electronic equipment and storage medium |
| CN113360063A (en) * | 2021-05-31 | 2021-09-07 | 网易(杭州)网络有限公司 | Image display method and device, electronic equipment and storage medium |
| JP2023023677A (en) * | 2021-08-06 | 2023-02-16 | 大日本印刷株式会社 | Comic display device, program and comic display method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101494716A (en) * | 2007-08-10 | 2009-07-29 | 夏普株式会社 | Image formation device, image formation method, and computer-readable recording medium recording image formation program |
| CN105159567A (en) * | 2015-08-27 | 2015-12-16 | 广东欧珀移动通信有限公司 | Character processing method and terminal |
| CN105786295A (en) * | 2014-12-19 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Character input method and device |
-
2017
- 2017-10-27 CN CN201711031399.XA patent/CN107741816A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101494716A (en) * | 2007-08-10 | 2009-07-29 | 夏普株式会社 | Image formation device, image formation method, and computer-readable recording medium recording image formation program |
| CN105786295A (en) * | 2014-12-19 | 2016-07-20 | 阿里巴巴集团控股有限公司 | Character input method and device |
| CN105159567A (en) * | 2015-08-27 | 2015-12-16 | 广东欧珀移动通信有限公司 | Character processing method and terminal |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109445652A (en) * | 2018-09-26 | 2019-03-08 | 中国平安人寿保险股份有限公司 | A kind of PDF document display methods and terminal device |
| CN109445652B (en) * | 2018-09-26 | 2021-08-13 | 中国平安人寿保险股份有限公司 | PDF document display method and terminal equipment |
| CN111078080A (en) * | 2019-06-09 | 2020-04-28 | 广东小天才科技有限公司 | A point reading control method and electronic device |
| CN110865859A (en) * | 2019-10-29 | 2020-03-06 | 维沃移动通信有限公司 | Image display method, device, electronic device and medium |
| CN111724455A (en) * | 2020-06-15 | 2020-09-29 | 维沃移动通信有限公司 | Image processing method and electronic device |
| CN112988012A (en) * | 2021-03-25 | 2021-06-18 | 百度在线网络技术(北京)有限公司 | Image display method, device, equipment and storage medium |
| CN113360063A (en) * | 2021-05-31 | 2021-09-07 | 网易(杭州)网络有限公司 | Image display method and device, electronic equipment and storage medium |
| CN113360063B (en) * | 2021-05-31 | 2023-02-03 | 网易(杭州)网络有限公司 | Image display method and device, electronic equipment and storage medium |
| CN113282743A (en) * | 2021-06-03 | 2021-08-20 | 北京得间科技有限公司 | Information display method, electronic equipment and storage medium |
| CN113282743B (en) * | 2021-06-03 | 2022-02-18 | 北京得间科技有限公司 | Information display method, electronic equipment and storage medium |
| JP2023023677A (en) * | 2021-08-06 | 2023-02-16 | 大日本印刷株式会社 | Comic display device, program and comic display method |
| JP7663050B2 (en) | 2021-08-06 | 2025-04-16 | 大日本印刷株式会社 | Comic display device, program, and comic display method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107741816A (en) | Image information processing method, device and storage medium | |
| US11550993B2 (en) | Ink experience for images | |
| JP5173129B2 (en) | Computer program for providing semantic thumbnails | |
| US20120131520A1 (en) | Gesture-based Text Identification and Selection in Images | |
| US20120096344A1 (en) | Rendering or resizing of text and images for display on mobile / small screen devices | |
| US8959431B2 (en) | Low resolution placeholder content for document navigation | |
| CN107015751B (en) | Optimal display and scaling of objects and text in documents | |
| US20120026194A1 (en) | Viewable boundary feedback | |
| US20130339830A1 (en) | Optimized document views for mobile device interfaces | |
| US20090313574A1 (en) | Mobile document viewer | |
| CN103930930A (en) | Fixed layout electronic publications | |
| US8959432B2 (en) | Utilizing document structure for animated pagination | |
| JP2006085674A (en) | Common charting using shapes | |
| US20130326321A1 (en) | Optimizations for hybrid word processing and graphical content authoring | |
| CN105745612A (en) | Resizing technique for display content | |
| US20210073458A1 (en) | Comic data display system, method, and program | |
| CN110286840A (en) | Gesture zooming control method and device of touch equipment and related equipment | |
| JP5789719B2 (en) | Method and apparatus for determining the display mode of an electronic document | |
| CN103336787A (en) | Method and device for zooming webpage | |
| CN111199136B (en) | Methods, devices and equipment for displaying document content | |
| CN114756792A (en) | Page display method and device, electronic equipment and readable storage medium | |
| WO2024078490A1 (en) | Picture processing method and apparatus, and electronic device and medium | |
| JP2011086050A (en) | Information processing terminal and computer program | |
| JP5376685B2 (en) | CONTENT DATA DISPLAY DEVICE, CONTENT DATA DISPLAY METHOD, AND PROGRAM | |
| US20120105455A1 (en) | Utilizing document structure for animated pagination |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180227 |
|
| RJ01 | Rejection of invention patent application after publication |